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 b454734

Browse filesBrowse files
cjihrigevanlucas
authored andcommitted
doc: fix detached child stdio example
The example changed by this commit uses ['ignore'] where 'ignore' is intended. Fixes: #7269 PR-URL: #7540 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 657fd7a commit b454734
Copy full SHA for b454734

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-1
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
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ const spawn = require('child_process').spawn;
430430

431431
const child = spawn(process.argv[0], ['child_program.js'], {
432432
detached: true,
433-
stdio: ['ignore']
433+
stdio: 'ignore'
434434
});
435435

436436
child.unref();

0 commit comments

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