Merge pull request #692 from mathstuf/quoted-command-lines

executable: quote arguments
This commit is contained in:
Todd Gamblin 2016-05-10 01:42:26 -07:00
commit a2528a86b4

View file

@ -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: