set "shell = True" when call subprocess.Popen
commita7f0f5ea50c4e1bd5cfcdeec19ac57fa122a9f52
authorShixin Zeng <zsx@ox.unix.eng.ua.edu>
Sat, 28 Jun 2008 06:05:12 +0000 (28 01:05 -0500)
committerHeikki Hokkanen <hoxu@users.sf.net>
Sat, 28 Jun 2008 07:14:02 +0000 (28 10:14 +0300)
treeed389c4cd20dec83ab2b4e6cc3b1f9eeb60fbadc
parenta01045f2480a21f28dd90e278b4f560020a97b9e
set "shell = True" when call subprocess.Popen

On unix, when "shell = False" (default), the args must be a list of
args. While on Windows, filling args with a list causes problems. As a
trade-off, set the this flag and using a string as the command, although
this might sacrifice some performance, but that's not the main concern
in this script.

Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
gitstats