mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-14 21:17:54 +00:00
[host] Windows: run with HIGH priority if started by the service
This commit is contained in:
parent
045932ce77
commit
0cf1e27709
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue