Skip to content

Commit

Permalink
Merge pull request #599 from rneatherway/patch-3
Browse files Browse the repository at this point in the history
Quote target filename in ProcessHelper on mono
  • Loading branch information
forki committed Nov 26, 2014
2 parents 2267f83 + 6d58ec0 commit 28460d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/FakeLib/ProcessHelper.fs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ let startedProcesses = HashSet()
/// [omit]
let start (proc : Process) =
if isMono && proc.StartInfo.FileName.ToLowerInvariant().EndsWith(".exe") then
proc.StartInfo.Arguments <- proc.StartInfo.FileName + " " + proc.StartInfo.Arguments
proc.StartInfo.Arguments <- "\"" + proc.StartInfo.FileName + "\" " + proc.StartInfo.Arguments
proc.StartInfo.FileName <- "mono"

proc.Start() |> ignore
Expand Down

0 comments on commit 28460d9

Please sign in to comment.