=20 > (A better mailing list for GHC questions is > Glasgow-haskell-users@haskell.org) >=20 > I guess you can say=20 > ghci Main.hs < run_main >& /dev/null >=20 > where run_main contains > main A slight refinement: echo main | ghc -v0 Main.hs the -v0 avoids all extraneous output including the banner and the "Skipping Main..." message. Cheers, Simon