Skip to content

Commit

Permalink
fix #1715
Browse files Browse the repository at this point in the history
  • Loading branch information
WouterTinus committed Dec 7, 2020
1 parent 8729fde commit c8038cf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main.lib/Services/TaskSchedulerService.cs
Expand Up @@ -166,10 +166,10 @@ public async System.Threading.Tasks.Task EnsureTaskScheduler(RunLevel runLevel,
actionPath = $"\"{actionPath}\"";
}
var workingPath = WorkingDirectory;
if (workingPath.IndexOf(" ") > -1)
{
workingPath = $"\"{workingPath}\"";
}
//if (workingpath.indexof(" ") > -1)
//{
// workingpath = $"\"{workingpath}\"";
//}
_ = task.Actions.Add(new ExecAction(actionPath, actionString, workingPath));

task.Principal.RunLevel = TaskRunLevel.Highest;
Expand Down

0 comments on commit c8038cf

Please sign in to comment.