From bcb69e6cbf38b8dbc9006923bb4a35dfdf7e8767 Mon Sep 17 00:00:00 2001 From: Paulo Madeira Date: Wed, 22 Jun 2011 00:23:38 +0100 Subject: [PATCH] Allow running git.cmd. --- dulwich/client.py | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dulwich/client.py b/dulwich/client.py index 4309545..bcea426 100644 --- a/dulwich/client.py +++ b/dulwich/client.py @@ -388,7 +388,8 @@ class SubprocessGitClient(GitClient): bufsize=0, stdin=subprocess.PIPE, stdout=subprocess.PIPE, - stderr=subprocess.PIPE) + stderr=subprocess.PIPE, + shell=True) if sys.platform == 'win32': p = SubprocessWrapperThread(proc) else: @@ -411,7 +412,8 @@ class SSHVendor(object): proc = subprocess.Popen(args + command, stdin=subprocess.PIPE, stdout=subprocess.PIPE, - stderr=subprocess.PIPE) + stderr=subprocess.PIPE, + shell=True) if sys.platform == 'win32': return SubprocessWrapperThread(proc) else: -- 1.7.4.msysgit.0