cvs commit: fptools/libraries/base/System Process.hs
fptools/libraries/base/System/Process Internals.hs
Simon Marlow
simonmar at microsoft.com
Thu Nov 17 06:28:44 EST 2005
simonmar 2005/11/17 03:28:44 PST
Modified files:
libraries/base/System Process.hs
libraries/base/System/Process Internals.hs
Log:
ProcessHandle is now an MVar, in which we cache the ExitCode of the
process when we know it.
Additionally, waitForProcess and getProcessExitCode now close the
handle eagerly on Windows, this avoids a problem with hsc2hs which
wants to remove the executable it just ran, and it can't if the handle
is still open.
Revision Changes Path
1.14 +40 -16 fptools/libraries/base/System/Process.hs
1.16 +39 -13 fptools/libraries/base/System/Process/Internals.hs
More information about the Cvs-libraries
mailing list