Skip to content
Prev Previous commit
Next Next commit
Update doc/api/child_process.md
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
gireeshpunathil and aduh95 authored Nov 1, 2024
commit f4716a0b0faf58ae40042592c635a0561812c2a6
2 changes: 1 addition & 1 deletion doc/api/child_process.md
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ processes may continue running after the parent exits regardless of whether
they are detached or not. See setsid(2) for more information.

By default, the parent will wait for the detached child process to exit.
To prevent the parent from waiting for a given `subprocess` to exit, use
To prevent the parent process from waiting for a given `subprocess` to exit, use
the `subprocess.unref()` method. Doing so will cause the parent's event
loop to not include the child process in its reference count, allowing the
parent to exit independently of the child, unless there is an established
Expand Down