[Haskell] Re: runProcess with out=err

Ian Lynagh igloo at earth.li
Thu Jul 28 10:46:57 EDT 2005

On Thu, Jul 28, 2005 at 04:35:10PM +0200, Peter Simons wrote:
> Ian Lynagh writes:
>  > With the below code (compiled by ghc) I get
>  > "a.out: thread blocked indefinitely".
> You need to compile with '-threaded' to avoid this problem.
> Unfortunately, this doesn't mean that your program will
> actually work. ;-) GHC 6.4 produces a binary that waits
> forever. When compiling with the current GHC from CVS,
> everything is good:

Hmm, I had assumed that this was not working because of the file locking
stuff in the report. It works both with and without -threaded with CVS
GHC for me. So, is this a bug in CVS GHC or in 6.4?


More information about the Haskell mailing list