Uh oh!
There was an error while loading. Please reload this page.
doc: add subprocess.ref() and subprocess.unref() methods - #22220
Conversation
There was a problem hiding this comment.
Shouldn't this be 0.7.10? And same for unref.
There was a problem hiding this comment.
Maybe `for a given `subprocess` to exit`?
There was a problem hiding this comment.
between the child and the parent?
cb9e2d8 to
ebbf8e6Compare
sagirk
left a comment
There was a problem hiding this comment.
LGTM! 🎉
A few minor nits below.
There was a problem hiding this comment.
nit: ... before exiting itself. reads better, IMHO.
There was a problem hiding this comment.
nit: forcing instead of allowing seems to be the right word here.
There was a problem hiding this comment.
nit: given the context, usage of the word process to describe parent and child can be safely omitted.
ebbf8e6 to
6b97a9aComparevsemozhetbyt
commented
Aug 10, 2018
vsemozhetbyt
commented
Aug 10, 2018
Node.js Collaborators, please, add 👍 here if you approve fast-tracking. |
vsemozhetbyt
commented
Aug 10, 2018
Landed in 7b1f3a4 |
PR-URL: #22220 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Bryan English <bryan@bryanenglish.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
PR-URL: #22220 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Bryan English <bryan@bryanenglish.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
PR-URL: nodejs/node#22220 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Bryan English <bryan@bryanenglish.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
This PR documents the
subprocess.ref()andsubprocess.unref()methods. The latter method does appear in the documentation as a side node in theoptions.detachedsection while the prior does not appear anywhere.Neither takes an argument nor has a return. I copied the documentation for
unreffrom the existingdetacheddocs. This is now redundant, perhaps the content should be removed fromdetachedand a link be added toref.The introduction version number should be correct, see
git log v0.7.10to confirm.Checklist