Re: [Haskell] Re: runProcess with out=err

2005-07-28 Thread Ian Lynagh
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?


Thanks
Ian

___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell


[Haskell] Re: runProcess with out=err

2005-07-28 Thread Peter Simons
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:

  $ ghc-6.5 -threaded --make test.hs && ./a.out
  Chasing modules from: test.hs
  [1 of 1] Compiling Main ( test.hs, test.o )
  Linking ...
  ExitSuccess

Peter

___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell