Re: runghc exit status

2005-05-12 Thread Frederik Eaton
Also, how hard would it be to make it so that runghc doesn't require script file names to end with ".hs"? Some people like to keep their executable names language-neutral. Frederik On Wed, May 11, 2005 at 10:55:03AM +0100, Simon Marlow wrote: > On 11 May 2005 07:37, Frederik Eaton wrote: > > > I

RE: runghc exit status

2005-05-11 Thread Simon Marlow
On 11 May 2005 07:37, Frederik Eaton wrote: > It looks like runghc is exiting with status 0 if there is a problem. > Shouldn't this be non-zero? > > $ runghc -V > The Glorious Glasgow Haskell Compilation System, version 6.4 > $ runghc /dev/null; echo $? > Could not find module `/dev/null': > us

runghc exit status

2005-05-10 Thread Frederik Eaton
It looks like runghc is exiting with status 0 if there is a problem. Shouldn't this be non-zero? $ runghc -V The Glorious Glasgow Haskell Compilation System, version 6.4 $ runghc /dev/null; echo $? Could not find module `/dev/null': use -v to see a list of the files searched for