Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c21068b

Browse filesBrowse files
aduh95DanielVenable
andcommitted
doc: remove deprecated pattern in child_process.md
Co-authored-by: = <daniel.venable@proton.me> PR-URL: #57568 Refs: #57389 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
1 parent f36bee4 commit c21068b
Copy full SHA for c21068b

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎doc/api/child_process.md‎

Copy file name to clipboardExpand all lines: doc/api/child_process.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ exec('my.bat', (err, stdout, stderr) => {
138138
});
139139

140140
// Script with spaces in the filename:
141-
const bat = spawn('"my script.cmd"', ['a', 'b'], { shell: true });
141+
const bat = spawn('"my script.cmd" a b', { shell: true });
142142
// or:
143143
exec('"my script.cmd" a b', (err, stdout, stderr) => {
144144
// ...
@@ -158,7 +158,7 @@ exec('my.bat', (err, stdout, stderr) => {
158158
});
159159

160160
// Script with spaces in the filename:
161-
const bat = spawn('"my script.cmd"', ['a', 'b'], { shell: true });
161+
const bat = spawn('"my script.cmd" a b', { shell: true });
162162
// or:
163163
exec('"my script.cmd" a b', (err, stdout, stderr) => {
164164
// ...

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.