[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 2021-04-26 03:00:54 -04:00 committed by Geoffrey McRae
parent 2afad4e1be
commit 93d97424df

View File

@ -312,7 +312,7 @@ void Launch(void)
NULL,
NULL,
NULL,
TRUE,
FALSE,
flags,
NULL,
os_getDataPath(),