[project @ 2005-11-17 11:28:43 by simonmar]
authorsimonmar <unknown>
Thu, 17 Nov 2005 11:28:44 +0000 (11:28 +0000)
committersimonmar <unknown>
Thu, 17 Nov 2005 11:28:44 +0000 (11:28 +0000)
commitee88c20da4e8dcd1ccc19e5af4663b672ced1081
tree14bb3d6d4ff81279a3cd6217d47a21305abcb460
parent2701ac4127cbc37e6d1069e2f5240a1e0ec1e479
[project @ 2005-11-17 11:28:43 by simonmar]
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.
System/Process.hs
System/Process/Internals.hs