[host] Windows: run with HIGH priority if started by the service
This commit is contained in:
1 parent
045932ce77
commit
0cf1e27709
1 file changed
+1
-1
@@ -266,7 +266,7 @@ void Launch()
|
||||
if (!enablePriv(SE_INCREASE_QUOTA_NAME))
|
||||
goto fail_token;
|
||||
|
||||
DWORD flags = CREATE_NEW_CONSOLE;
|
||||
DWORD flags = CREATE_NEW_CONSOLE | HIGH_PRIORITY_CLASS;
|
||||
if (!pEnvironment)
|
||||
flags |= CREATE_UNICODE_ENVIRONMENT;
|
||||
|
||||
|
||||
Reference in new issue
Block a user