Commit c0000f4
doc: add example for
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>execFileSync method and ref to stdio1 parent ea6070b commit c0000f4Copy full SHA for c0000f4
File tree
Expand file treeCollapse file tree
1 file changed
+34
-3
lines changedOpen diff view settings
Filter options
- doc/api
Expand file treeCollapse file tree
1 file changed
+34
-3
lines changedOpen diff view settings
Collapse file
+34-3Lines changed: 34 additions & 3 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
921 | 921 | |
922 | 922 | |
923 | 923 | |
924 | | - |
| 924 | + |
| 925 | + |
925 | 926 | |
926 | 927 | |
927 | 928 | |
| ||
962 | 963 | |
963 | 964 | |
964 | 965 | |
| 966 | + |
| 967 | + |
| 968 | + |
| 969 | + |
| 970 | + |
| 971 | + |
| 972 | + |
| 973 | + |
| 974 | + |
| 975 | + |
| 976 | + |
| 977 | + |
| 978 | + |
| 979 | + |
| 980 | + |
| 981 | + |
| 982 | + |
| 983 | + |
| 984 | + |
| 985 | + |
| 986 | + |
| 987 | + |
| 988 | + |
| 989 | + |
| 990 | + |
| 991 | + |
| 992 | + |
| 993 | + |
965 | 994 | |
966 | 995 | |
967 | 996 | |
| ||
991 | 1020 | |
992 | 1021 | |
993 | 1022 | |
994 | | - |
| 1023 | + |
| 1024 | + |
995 | 1025 | |
996 | 1026 | |
997 | 1027 | |
| ||
1069 | 1099 | |
1070 | 1100 | |
1071 | 1101 | |
1072 | | - |
| 1102 | + |
| 1103 | + |
1073 | 1104 | |
1074 | 1105 | |
1075 | 1106 | |
|
0 commit comments