-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
fork method, args parameter cannot be null #22154
Copy link
Copy link
Closed
Labels
child_processIssues and PRs related to the child_process subsystem.Issues and PRs related to the child_process subsystem.docIssues and PRs related to the documentations.Issues and PRs related to the documentations.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.Issues that need assistance from volunteers or PRs that need help to proceed.
Metadata
Metadata
Assignees
Labels
child_processIssues and PRs related to the child_process subsystem.Issues and PRs related to the child_process subsystem.docIssues and PRs related to the documentations.Issues and PRs related to the documentations.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.Issues that need assistance from volunteers or PRs that need help to proceed.
Hi,
I've just realized that this code can't work because args parameter can't be null. But it's not documented and I think it can be disturbing.
But the following will work :
I think this line is related to the issue :
node/lib/child_process.js
Line 71 in 2bea9ce
I'm not sure if it's the intended behavior, or if it's a lack in the documentation ?