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
_______________________________________________
Cvs-libraries mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-libraries