runghc exit status

Frederik Eaton frederik at a5.repetae.net
Wed May 11 02:37:15 EDT 2005


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
  (one of the roots of the dependency analysis)

<interactive>:1:76:
    Failed to load interface for `Main':
        Could not find module `Main':
          it is not a module in the current program, or in any known package.
0

-- Frederik

-- 
http://ofb.net/~frederik/



More information about the Glasgow-haskell-bugs mailing list