process 1.6.8.0 → 1.6.8.1
raw patch · 4 files changed
+11/−5 lines, 4 files
Files
- System/Process/Windows.hsc +1/−4
- cbits/runProcess.c +5/−0
- changelog.md +4/−0
- process.cabal +1/−1
System/Process/Windows.hsc view
@@ -330,10 +330,7 @@ withProcessHandle ph $ \p_ -> do case p_ of ClosedHandle _ -> return ()- _ -> do let h = case p_ of- OpenHandle x -> x- OpenExtHandle x _ -> x- _ -> error "interruptProcessGroupOfInternal"+ _ -> do let h = phdlProcessHandle p_ #if mingw32_HOST_OS pid <- getProcessId h generateConsoleCtrlEvent cTRL_BREAK_EVENT pid
cbits/runProcess.c view
@@ -875,6 +875,11 @@ sizeof(JOBOBJECT_BASIC_PROCESS_ID_LIST), NULL); + if (!success) {+ maperrno();+ return false;+ }+ if (!success && GetLastError() == ERROR_MORE_DATA) { process_count *= 2; free(pid_list);
changelog.md view
@@ -1,5 +1,9 @@ # Changelog for [`process` package](http://hackage.haskell.org/package/process) +## 1.6.8.1 *March 2020*++* Fix a few warnings on Windows.+ ## 1.6.8.0 *February 2020* * Fix several bugs on Windows where use of process jobs would result
process.cabal view
@@ -1,5 +1,5 @@ name: process-version: 1.6.8.0+version: 1.6.8.1 -- NOTE: Don't forget to update ./changelog.md license: BSD3 license-file: LICENSE