[commit: packages/process] master: GH77: rebased. (5a12fa4)

git at git.haskell.org git at git.haskell.org
Wed Jul 19 21:18:12 UTC 2017


Repository : ssh://git@git.haskell.org/process

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/5a12fa4a4c19245d7273c2d025223ca3fb619c2b/process

>---------------------------------------------------------------

commit 5a12fa4a4c19245d7273c2d025223ca3fb619c2b
Author: Tamar Christina <tamar at zhox.com>
Date:   Sat Jan 7 15:01:00 2017 +0000

    GH77: rebased.


>---------------------------------------------------------------

5a12fa4a4c19245d7273c2d025223ca3fb619c2b
 cbits/runProcess.c | 2 +-
 tests/T9775/main.c | 0
 tests/T9775/ok.c   | 0
 3 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/cbits/runProcess.c b/cbits/runProcess.c
index 17463d6..7ba6a49 100644
--- a/cbits/runProcess.c
+++ b/cbits/runProcess.c
@@ -518,7 +518,7 @@ createJob ()
     ZeroMemory(&jeli, sizeof(JOBOBJECT_EXTENDED_LIMIT_INFORMATION));
     // Configure all child processes associated with the job to terminate when the
     // Last process in the job terminates. This prevent half dead processes.
-    //jeli.BasicLimitInformation.LimitFlags = JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE;
+    jeli.BasicLimitInformation.LimitFlags = JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE;
 
     if (SetInformationJobObject (hJob, JobObjectExtendedLimitInformation,
                                  &jeli, sizeof(JOBOBJECT_EXTENDED_LIMIT_INFORMATION)))



More information about the ghc-commits mailing list