| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| ```js | ||
| const { spawn } = require('child_process'); | ||
| const ls = spawn('ls', ['-lh', '/usr']); | ||
|
|
There was a problem hiding this comment.
One suggestion for the example :-)
| ls.stdout.setEncoding('utf8'); |
Sorry, something went wrong.
|
@nodejs/documentation This duplicates sample code from elsewhere in the doc. Is this how we want to do this sort of thing? Would a more succinct example which focuses on close be a better fit here? |
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
PR-URL: nodejs#28376 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
PR-URL: #28376 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
| Back | FazBrowse Home | New Git URL |
add a missing example of the event close for child_process
Checklist