From 24e10dc2e8df8caf2dad33f4cc0776742a1afeba Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Fri, 24 Feb 2012 16:10:53 -0500 Subject: [PATCH] Don't use a shell and thus avoid a whole class of problems --- library/command | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/command b/library/command index c11cfebd250..780e50dd6da 100755 --- a/library/command +++ b/library/command @@ -11,7 +11,7 @@ import datetime args = sys.argv[1:] startd = datetime.datetime.now() -cmd = subprocess.Popen(args, shell=True, +cmd = subprocess.Popen(args, shell=False, stdout=subprocess.PIPE, stderr=subprocess.PIPE) out, err = cmd.communicate()