Show More
@@ -615,7 +615,9 b' else:' | |||
|
615 | 615 | def _do_wait(): |
|
616 | 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 | 621 | return |
|
620 | 622 | # Parent process |
|
621 | 623 | (_pid, status) = os.waitpid(pid, 0) |
General Comments 0
You need to be logged in to leave comments.
Login now