[host] service: disable handle inheritance when spawning host
We don't actually have any handles that should be inherited, so specifying TRUE for bInheritHandles to CreateProcessAsUserA is pointless. Furthermore, according to MSDN, "[y]ou cannot inherit handles across sessions," and we are spawning the host in a different session, so this is even more pointless.
This commit is contained in:
1 parent
2afad4e1be
commit
93d97424df
1 file changed
+1
-1
@@ -312,7 +312,7 @@ void Launch(void)
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
TRUE,
|
||||
FALSE,
|
||||
flags,
|
||||
NULL,
|
||||
os_getDataPath(),
|
||||
|
||||
Reference in new issue
Block a user