Show More
@@ -615,7 +615,9 b' else:' | |||||
615 | def _do_wait(): |
|
615 | def _do_wait(): | |
616 | os.waitpid(pid, 0) |
|
616 | os.waitpid(pid, 0) | |
617 |
|
617 | |||
618 |
threading.Thread(target=_do_wait |
|
618 | t = threading.Thread(target=_do_wait) | |
|
619 | t.daemon = True | |||
|
620 | t.start() | |||
619 | return |
|
621 | return | |
620 | # Parent process |
|
622 | # Parent process | |
621 | (_pid, status) = os.waitpid(pid, 0) |
|
623 | (_pid, status) = os.waitpid(pid, 0) |
General Comments 0
You need to be logged in to leave comments.
Login now