| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Remove the suggestion to use `spawn` following DEP0190. Fixes: #58735 Refs: https://nodejs.org/docs/latest-v24.x/api/child_process.html
|
Humble ping to @nodejs/documentation |
Sorry, something went wrong.
| }); | ||
|
|
||
| // Script with spaces in the filename: | ||
| const bat = spawn('"my script.cmd" a b', { shell: true }); |
There was a problem hiding this comment.
this doesn't use args array, so this doesn't fall into the DEP0190 case
Sorry, something went wrong.
There was a problem hiding this comment.
You're right! I hadn't noticed that.
In that case I agree this may be rejected. Still, depending on the intention of DEP0190, I think it could make some sense to remove this example. Hence, I'll leave it up to the maintainers to close or merge this depending on their opinion. (Notwithstanding your earlier comment about the stdio option.)
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Remove the suggestion to use spawn following DEP0190.
Fixes: #58735
Refs: https://nodejs.org/docs/latest-v24.x/api/child_process.html