Skip to content

doc: clarify subprocess.stdout/in/err property

Rodrigo Muino Tomonari requested to merge github/fork/cola119/issue-43905 into main

Fix #43905 (closed)

subprocess.stdout/in/err property can be undefined when EMFILE or ENFILE error happend. https://github.com/nodejs/node/blob/389b7e138e89a339fabe4ad628bf09cd9748f957/test/sequential/test-child-process-emfile.js#L58-L65 And they can be null when the child process couldn't be successfully spawned. https://github.com/nodejs/node/blob/389b7e138e89a339fabe4ad628bf09cd9748f957/lib/internal/child_process.js#L455-L460

Merge request reports

Loading