diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2015-10-19 22:10:14 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2015-10-19 22:10:14 +0300 |
commit | 3103409f6e9792abc6ff4d33596e8d7449d764b7 (patch) | |
tree | f856284a3d210e40cff16c91eb919dfab7cf466e /commandrunner.py | |
parent | 47cb6c10306d89172ce6aafa09a450e85f4a8f8d (diff) | |
download | meson-3103409f6e9792abc6ff4d33596e8d7449d764b7.zip meson-3103409f6e9792abc6ff4d33596e8d7449d764b7.tar.gz meson-3103409f6e9792abc6ff4d33596e8d7449d764b7.tar.bz2 |
Wait properly.
Diffstat (limited to 'commandrunner.py')
-rwxr-xr-x | commandrunner.py | 4 |
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) |