diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2012-01-30 17:47:57 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2012-01-30 17:47:57 -0500 |
commit | 491cd825561be1cf4a6f428a535811cbe0e3f179 (patch) | |
tree | 0951085faabaa664c25d64b57dd17c01f3c65c18 /indra/tools/vstool/main.cs | |
parent | 60a777d2e3f9bec7a20e5de2df7cb3ecd2455b98 (diff) |
Set bit flag on CreateProcess() to allow AssignProcessToJobObject().
Windows 7 and friends tend to create a process already implicitly allocated to
a job object, and a process can only belong to a single job object. Passing
CREATE_BREAKAWAY_FROM_JOB in CreateProcessA()'s dwCreationFlags seems to
bypass the access-denied error observed with AssignProcessToJobObject()
otherwise.
This change should (!) enable OS lifespan management for SLVoice.exe et al.
Diffstat (limited to 'indra/tools/vstool/main.cs')
0 files changed, 0 insertions, 0 deletions