robx · GitHub

Merged

Merged

Conversation

@robx

robx

snoyberg

testKillDoubleWait
putStrLn ">>> Tests passed successfully"

run :: String -> IO () -> IO ()

@robx

@robx robx mentioned this pull request

Feb 8, 2022

Closed

snoyberg

OpenExtHandle ph' job' -> do
closePHANDLE ph'
closePHANDLE job'
when delegating_ctlc $
endDelegateControlC throws UserInterrupt, which would cause
modifyProcessHandle to roll back, leaving the handle open
despite the waitpid call.
Instead, we postpone the call to endDelegateControlC, as is already
the case in getProcessExitCode.
Additionally, remove endDelegateControlC entirely from the Windows-only
OpenExtHandle branch, where it's a no-op and was also in the wrong place.

@robx

snoyberg

@snoyberg

@robx robx mentioned this pull request

Feb 23, 2022

Merged

3 tasks

@robx

robx deleted the fix-ctlc-wait branch

July 12, 2022 21:28

Labels

None yet

Read the original on github.com ↗