Commit 14900d31 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Fix "system" on wine; trac #5477

A missing space in the Windows cmd.exe invocation broke shell command
invocation on Wine. Patch from A1kmm.
parent 26c00660
......@@ -456,7 +456,7 @@ commandToProcess
-> IO (FilePath, String)
commandToProcess (ShellCommand string) = do
cmd <- findCommandInterpreter
return (cmd, translate cmd ++ "/c " ++ string)
return (cmd, translate cmd ++ " /c " ++ string)
-- We don't want to put the cmd into a single
-- argument, because cmd.exe will not try to split it up. Instead,
-- we just tack the command on the end of the cmd.exe command line,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment