diff --git a/Code/Tools/reports/facility-code-changes.py b/Code/Tools/reports/facility-code-changes.py
index 051ee866fb08654677bf3440b44db316f4dcb58b..d671d7a73a96554735590e2d9a86a3d614e09486 100644
--- a/Code/Tools/reports/facility-code-changes.py
+++ b/Code/Tools/reports/facility-code-changes.py
@@ -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)