Re: [Haskell-cafe] createProcess shutting file handles

2009-02-15 Thread Duncan Coutts
On Sun, 2009-02-15 at 11:06 +, Duncan Coutts wrote: On Sun, 2009-02-15 at 09:24 +, Neil Mitchell wrote: Hi What have I done wrong? Did createProcess close the handle, and is there a way round this? The docs for runProcess says: Any Handles passed to

Re: Warning about unrecognised pragma

2009-02-15 Thread Colin Paul Adams
Colin == Colin Paul Adams co...@colina.demon.co.uk writes: Colin I am getting messages: Board_representation.hs:407:0: Colin Unrecognised pragma Colin Board_representation.hs:442:0: Unrecognised pragma Colin Board_representation.hs:458:0: Unrecognised pragma Colin etc.

Re: [Haskell-cafe] createProcess shutting file handles

2009-02-15 Thread Neil Mitchell
Hi However the createProcess command structure has the close_fds flag, which seems like it should override that behaviour, and therefore this seems like a bug in createProcess. close_fds :: Bool Close all file descriptors except stdin, stdout and stderr in the