Skip to content
Snippets Groups Projects
Commit 31b82fd9 authored by Stuart Campbell's avatar Stuart Campbell
Browse files

Try setting shell=True for git shortlog command

parent e1aca857
No related branches found
No related tags found
No related merge requests found
......@@ -186,7 +186,7 @@ if __name__ == '__main__':
args_commits = ['git', 'shortlog', '-sne', since, until]
# print(args_commits)
sub2 = subprocess.Popen(args_commits, stdout=subprocess.PIPE, close_fds=True, cwd=repolocation)
sub2 = subprocess.Popen(args_commits, stdout=subprocess.PIPE, shell=True, close_fds=True, cwd=repolocation)
commits = 0
for line in sub2.stdout:
# print(line)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment