[Haskell-beginners] how to save the GHC errormessages in a file on Windows

Kees Bleijenberg k.bleijenberg at inter.nl.net
Thu Apr 28 14:31:29 CEST 2011


When I try in Windows in cmd: ghc --make myprogram.hs > test.txt I only get
the first lines in test.txt. The errormessages itself are on the screen, not
in test.txt.
 
In test.txt:
Resolving dependencies...
Configuring ftphs-1.0.7...
Preprocessing library ftphs-1.0.7...
Preprocessing executables for ftphs-1.0.7...
Building ftphs-1.0.7...

The errormessages: Could not find  module 'Network.FTP.Client'.... and a lot
more.
 
How do I 'intercept' these messages?
 
Kees
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20110428/648bf85e/attachment.htm>


More information about the Beginners mailing list