mirror of https://github.com/winsw/winsw
Merge pull request #502 from NextTurn/priority
Always set process priority if specifiedpull/511/head
commit
cb88482b69
|
@ -183,7 +183,7 @@ namespace winsw.Util
|
||||||
processToStart.Start();
|
processToStart.Start();
|
||||||
Logger.Info("Started process " + processToStart.Id);
|
Logger.Info("Started process " + processToStart.Id);
|
||||||
|
|
||||||
if (priority != null && priority.Value != ProcessPriorityClass.Normal)
|
if (priority != null)
|
||||||
{
|
{
|
||||||
processToStart.PriorityClass = priority.Value;
|
processToStart.PriorityClass = priority.Value;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue