doc: list execArgv option for child_process.fork()
authorYazhong Liu <yorkiefixer@gmail.com>
Mon, 2 Dec 2013 05:31:06 +0000 (13:31 +0800)
committerTimothy J Fontaine <tjfontaine@gmail.com>
Mon, 2 Dec 2013 21:41:30 +0000 (13:41 -0800)
doc/api/child_process.markdown

index 40cd183..7b51902 100644 (file)
@@ -555,6 +555,8 @@ leaner than `child_process.exec`. It has the same options.
   * `env` {Object} Environment key-value pairs
   * `encoding` {String} (Default: 'utf8')
   * `execPath` {String} Executable used to create the child process
+  * `execArgv` {Array} List of string arguments passed to the executable
+    (Default: `process.execArgv`)
   * `silent` {Boolean} If true, prevent stdout and stderr in the spawned node
     process from being associated with the parent's (default is false)
 * Return: ChildProcess object