# HG changeset patch # User Raphaël Gomès # Date 2020-05-07 23:19:48 # Node ID 4be0cc3458e13a203c5e993f7588b52bc25a8df7 # Parent 60b79f927f0c1e652768b8107a6a3cd4f8127f6a formatting: add missing newline Differential Revision: https://phab.mercurial-scm.org/D8509 diff --git a/mercurial/utils/procutil.py b/mercurial/utils/procutil.py --- a/mercurial/utils/procutil.py +++ b/mercurial/utils/procutil.py @@ -612,6 +612,7 @@ else: # We use a thread to make the overhead tiny. def _do_wait(): os.waitpid(pid, 0) + threading.Thread(target=_do_wait, daemon=True).start() return # Parent process