-
Notifications
You must be signed in to change notification settings - Fork 29.1k
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
subprocess.stdout
can be undefined instead of null
#43905
Comments
This is because node/lib/internal/child_process.js Lines 388 to 401 in 3473d1b
Which is better to document it can be null and undefined, or to fix to initialize |
I think it would be better if I'm okay for documenting the behavior, though. |
Affected URL(s)
https://nodejs.org/docs/latest-v16.x/api/child_process.html#subprocessstdout
Description of the problem
However, it can be
undefined
in some cases:I think this should be documented.
The text was updated successfully, but these errors were encountered: