cvs commit: fptools/libraries/base/cbits runProcess.c
Simon Marlow
simonmar at haskell.org
Fri Mar 4 17:11:53 EST 2005
simonmar 2005/03/04 14:11:52 PST
Modified files: (Branch: ghc-6-4-branch)
libraries/base/cbits runProcess.c
Log:
getProcessExitCode(Unix): return some more useful values. If the
process doesn't exist, return (Just ExitSuccess). This isn't ideal,
but it's better than returning Nothing (which indicates the process is
still running).
Also, if waitpid() fails, throw the error properly.
Revision Changes Path
1.4.2.1 +11 -3 fptools/libraries/base/cbits/runProcess.c
More information about the Cvs-libraries
mailing list