[project @ 2005-11-11 12:01:58 by simonmar]
authorsimonmar <unknown>
Fri, 11 Nov 2005 12:01:58 +0000 (12:01 +0000)
committersimonmar <unknown>
Fri, 11 Nov 2005 12:01:58 +0000 (12:01 +0000)
commita8973d98787f8c4b1f646da1217da68f03f476f3
treef9a23ba3f91d86166da593d777889bf652071853
parent2e0fce3a5a3e234229b696840514d77a300a4ceb
[project @ 2005-11-11 12:01:58 by simonmar]
On Windows, attach a finalizer to the ProcessHandle so that we can
call CloseHandle() when the handle is no longer in use.  Previously we
were calling CloseHandle() in waitForProcess and terminateProcess,
which prevented making multiple calls to these functions on the same
handle.
libraries/base/System/Process.hs
libraries/base/System/Process/Internals.hs
libraries/base/cbits/runProcess.c