Re: calling system gives exception, waitForProcess

2005-12-07 Thread Neil Mitchell
I have a fix for it now, thanks to dons. I just wrap system in Control.Exception.catch and it doesn't crash. dons also said that this has been fixed in head dons: > waitForProcess started raising exceptions if the processed > had already termianted (I think) in 6.4.1 and the head. It's > been fix

RE: calling system gives exception, waitForProcess

2005-12-05 Thread Simon Marlow
On 28 November 2005 23:16, Neil Mitchell wrote: > On Windows XP, with GHC 6.4.1, I get the following error consistently > when calling "system", from the module System. I get this error on two > entirely different computers, one slow (750Mhz) system, and one fast > (3Ghz) system. > > Its easiest

calling system gives exception, waitForProcess

2005-11-28 Thread Neil Mitchell
Hi, On Windows XP, with GHC 6.4.1, I get the following error consistently when calling "system", from the module System. I get this error on two entirely different computers, one slow (750Mhz) system, and one fast (3Ghz) system. Its easiest to demonstrate when using GHCi, but the problem also occ