doc: add example for `execFileSync` method and ref to stdio · nodejs/node@c0000f4 · GitHub
Skip to content

Commit c0000f4

Browse files
evanshortisstargos
authored andcommitted
doc: add example for execFileSync method and ref to stdio
Added an example to the `execFileSync` method. This demonstrates how to handle exceptions and access the stderr and stdio properties that are attached to the `Error` object in a `catch` block. Added a link to the detailed stdio section nested under `child_process.spawn()` from each child_process sync method option description. Fixes: #39306 PR-URL: #39412 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent ea6070b commit c0000f4

1 file changed

Lines changed: 34 additions & 3 deletions

File tree

doc/api/child_process.md

Lines changed: 34 additions & 3 deletions

0 commit comments

Comments
 (0)