code review feedback
This commit is contained in:
parent
40eba07f28
commit
6d3f07234a
17 changed files with 62 additions and 195 deletions
|
@ -63,11 +63,9 @@ namespace Microsoft.DotNet.Cli.Utils
|
|||
// args is empty, we just run "foo.exe"
|
||||
if (!string.IsNullOrEmpty(args))
|
||||
{
|
||||
args = " " + args;
|
||||
executable = (executable + " " + args).Replace("\"", "\\\"");
|
||||
}
|
||||
var cmd = executable + args;
|
||||
cmd = cmd.Replace("\"", "\\\"");
|
||||
args = $"/C \"{executable}{args}\"";
|
||||
args = $"/C \"{executable}\"";
|
||||
executable = comSpec;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue