diff --git a/Build/actions.fs b/Build/actions.fs index 413acccc..c0302cc1 100644 --- a/Build/actions.fs +++ b/Build/actions.fs @@ -400,7 +400,12 @@ using System.Runtime.CompilerServices; Assert.That(result.ExitCode, Is.EqualTo 0, msg) let Run (file, dir, args) msg = - CreateProcess.fromRawCommand file args + CreateProcess.fromRawCommand + file + (if isNull args then + Seq.empty + else + args) |> CreateProcess.withWorkingDirectory dir |> CreateProcess.withFramework |> Proc.run