• simonmar's avatar
    [project @ 2005-11-17 11:28:43 by simonmar] · ee88c20d
    simonmar authored
    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.