Merge pull request #692 from mathstuf/quoted-command-lines
executable: quote arguments
This commit is contained in:
commit
a2528a86b4
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ def streamify(arg, mode):
|
|||
|
||||
cmd = self.exe + list(args)
|
||||
|
||||
cmd_line = ' '.join(cmd)
|
||||
cmd_line = "'%s'" % "' '".join(map(lambda arg: arg.replace("'", "'\"'\"'"), cmd))
|
||||
tty.debug(cmd_line)
|
||||
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue