aboutsummaryrefslogtreecommitdiff
path: root/commandrunner.py
diff options
context:
space:
mode:
Diffstat (limited to 'commandrunner.py')
-rwxr-xr-xcommandrunner.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/commandrunner.py b/commandrunner.py
index 1d5defb..0dad585 100755
--- a/commandrunner.py
+++ b/commandrunner.py
@@ -50,4 +50,6 @@ if __name__ == '__main__':
subdir = sys.argv[3]
command = sys.argv[4]
arguments = sys.argv[5:]
- sys.exit(run_command(src_dir, build_dir, subdir, command, arguments).returncode)
+ pc = run_command(src_dir, build_dir, subdir, command, arguments)
+ pc.wait()
+ sys.exit(pc.returncode)