Skip to content

Commit

Permalink
Removing shell=True because otherwise it won't work on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus committed Sep 19, 2012
1 parent f96a5ef commit 48f074e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mu_repo/execute_git_command_in_thread.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def run(self, serial=False):
Print(msg)
p = None
try:
p = subprocess.Popen(cmd, cwd=repo, shell=True)
p = subprocess.Popen(cmd, cwd=repo)
except:
PrintError('Error executing: ' + ' '.join(cmd) + ' on: ' + repo)
if p is not None:
Expand All @@ -102,8 +102,7 @@ def run(self, serial=False):
cmd,
cwd=repo,
stderr=subprocess.PIPE,
stdout=subprocess.PIPE,
shell=True,
stdout=subprocess.PIPE,
)
except:
PrintError('Error executing: ' + ' '.join(cmd) + ' on: ' + repo)
Expand Down

0 comments on commit 48f074e

Please sign in to comment.