Skip to content

Commit 5a571a5

Browse files
committed
doc: fix detached child stdio example
The example changed by this commit uses ['ignore'] where 'ignore' is intended. Fixes: nodejs#7269 PR-URL: nodejs#7540 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 630096b commit 5a571a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/child_process.md

Lines changed: 1 addition & 1 deletion
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)