mirror of https://github.com/winsw/winsw
Always set process priority if specified
parent
459d5d7647
commit
f4c40aba0e
|
@ -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