Merge pull request #692 from mathstuf/quoted-command-lines
executable: quote arguments
This commit is contained in:
		@@ -144,7 +144,7 @@ def streamify(arg, mode):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        cmd = self.exe + list(args)
 | 
					        cmd = self.exe + list(args)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        cmd_line = ' '.join(cmd)
 | 
					        cmd_line = "'%s'" % "' '".join(map(lambda arg: arg.replace("'", "'\"'\"'"), cmd))
 | 
				
			||||||
        tty.debug(cmd_line)
 | 
					        tty.debug(cmd_line)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        try:
 | 
					        try:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user