From 186af29298892fb7fe17dabbf786dcb02fd63ff2 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 dec05fab22a04a..db70d06644e500 100644 --- a/doc/api/child_process.md +++ b/doc/api/child_process.md @@ -414,7 +414,7 @@ const spawn = require('child_process').spawn; const child = spawn(process.argv[0], ['child_program.js'], { detached: true, - stdio: ['ignore'] + stdio: 'ignore' }); child.unref();