From b10e1c75ed66fec2c37a804756695a07fac246ba Mon Sep 17 00:00:00 2001 From: "maruel@chromium.org" Date: Thu, 8 Sep 2011 21:58:57 +0000 Subject: [PATCH] git cl assumes no shell is used. This is necessary for msysgit usage on windows. R=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/7858008 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@100267 0039d316-1c4b-4281-b951-d872f2087c98 --- git_cl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git_cl.py b/git_cl.py index b910a6b08..ebb39c1ac 100755 --- a/git_cl.py +++ b/git_cl.py @@ -55,7 +55,7 @@ def DieWithError(message): def RunCommand(args, error_ok=False, error_message=None, **kwargs): try: - return subprocess2.check_output(args, **kwargs) + return subprocess2.check_output(args, shell=False, **kwargs) except subprocess2.CalledProcessError, e: if not error_ok: DieWithError(