From b4547340ee0bc1206ee711e6680d880fd82c100e Mon Sep 17 00:00:00 2001 From: cjihrig Date: Tue, 5 Jul 2016 11:27:15 -0400 Subject: [PATCH] doc: fix detached child stdio example The example changed by this commit uses ['ignore'] where 'ignore' is intended. Fixes: https://github.com/nodejs/node/issues/7269 PR-URL: https://github.com/nodejs/node/pull/7540 Reviewed-By: Anna Henningsen Reviewed-By: James M Snell --- doc/api/child_process.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/child_process.md b/doc/api/child_process.md index d519ab4b49ab26..e79b411e91eacf 100644 --- a/doc/api/child_process.md +++ b/doc/api/child_process.md @@ -430,7 +430,7 @@ const spawn = require('child_process').spawn; const child = spawn(process.argv[0], ['child_program.js'], { detached: true, - stdio: ['ignore'] + stdio: 'ignore' }); child.unref();