[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:
Quantum authored and Geoffrey McRae committed 2021-04-29 11:51:41 +10:00
1 parent 2afad4e1be
commit 93d97424df
1 file changed
+1 -1
+1 -1
View File
@@ -312,7 +312,7 @@ void Launch(void)
NULL,
NULL,
NULL,
TRUE,
FALSE,
flags,
NULL,
os_getDataPath(),