[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)
commitc2922a39f0df56dcb8aa26cb1e4283f53fadfbb1
treeb97c73b205744b3051ca504510e1ff7a80b3b82f
parent1fd5b3a1b3ed969d3bc4790803fe32fa4467411f
[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.
libraries/base/System/Process.hs
libraries/base/System/Process/Internals.hs