summaryrefslogtreecommitdiff
path: root/src/spawn.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2014-09-29 20:35:35 +0200
committerTannin <devnull@localhost>2014-09-29 20:35:35 +0200
commitdb0e278817cf5a36e15f1945c52e73726598e8d9 (patch)
treed11067e844c680a3f1c907cfd624a39dd731e290 /src/spawn.cpp
parent2ce135e0bf7ce2c801b1a8d57fe10b099b9007aa (diff)
- moved the hook-recursion-protection to tls
- some code cleanup and consolidation - hook.dll will now report all of its own exceptions - some more logging during startup - changed the way urls are encoded for download requests - now displaying (one of the) process name(s) while waiting for a program to end - bugfix: spawned processes were forced to leave the job
Diffstat (limited to 'src/spawn.cpp')
-rw-r--r--src/spawn.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spawn.cpp b/src/spawn.cpp
index ddcf573e..cd7e202e 100644
--- a/src/spawn.cpp
+++ b/src/spawn.cpp
@@ -120,7 +120,7 @@ HANDLE startBinary(const QFileInfo &binary,
JOBOBJECT_EXTENDED_LIMIT_INFORMATION jobInfo;
::QueryInformationJobObject(NULL, JobObjectExtendedLimitInformation, &jobInfo, sizeof(JOBOBJECT_EXTENDED_LIMIT_INFORMATION), NULL);
- jobInfo.BasicLimitInformation.LimitFlags |= JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK | JOB_OBJECT_LIMIT_BREAKAWAY_OK;
+ jobInfo.BasicLimitInformation.LimitFlags |= JOB_OBJECT_LIMIT_BREAKAWAY_OK;
HANDLE jobObject = ::CreateJobObject(NULL, NULL);