master should wait for child to quit
This commit is contained in:
parent
2a149a5b3f
commit
d42a32fbc0
1 changed files with 1 additions and 0 deletions
|
@ -104,6 +104,7 @@ def main():
|
|||
for pid in children:
|
||||
try:
|
||||
os.kill(pid, signum)
|
||||
os.waitpid(pid, 0)
|
||||
except OSError: # child may already exited
|
||||
pass
|
||||
sys.exit()
|
||||
|
|
Loading…
Reference in a new issue