Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreOlivierBrillant committed Oct 17, 2024
2 parents bfc63f1 + cca68bd commit c96f576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scriptsharp/ScriptSharp/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ private static void RunPowerShellCommand(string command)
{
ProcessStartInfo processStartInfo = new ProcessStartInfo
{
FileName = "powershell.exe",
FileName = "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
Arguments = $"-Command \"{command}\"",
RedirectStandardOutput = true,
UseShellExecute = false,
Expand Down

0 comments on commit c96f576

Please sign in to comment.