-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: add missing argv0 option for child_process.spawnSync #22231
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, @thw0rted. Welcome, and thanks for the pull request. It looks good to me.
It might be out of scope for this change, but I think the options should be alphabetized. Maybe if you're eager to do a second pull request or something.
/ping @nodejs/child_process @nodejs/documentation for reviews
Having them alphabetically would be nice but in that case the other entry has to be moved as well. This is in sync with the other documentation. |
Thank you @thw0rted for your contribution. The author for the last commit can be updated by following these steps |
Node.js Collaborators, please, add 👍 here if you approve fast-tracking. |
Landed in 1f32cca |
PR-URL: #22231 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
PR-URL: #22231 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
The child_process docs include
argv0
as an option forspawn
but notspawnSync
. This is a documentation oversight, because the actual functions share the same options parsing logic.Checklist