diff --git a/gitstatus.py b/gitstatus.py index 30d2a5f6..ee6fab9b 100755 --- a/gitstatus.py +++ b/gitstatus.py @@ -24,7 +24,7 @@ unmerged = re.compile(r'^# Unmerged paths:$', re.MULTILINE) def execute(*command): - out, err = Popen(*command, stdout=PIPE, stderr=PIPE).communicate() + out, err = Popen(stdout=PIPE, stderr=PIPE, *command).communicate() if not err: nb = len(out.splitlines()) else: