summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Lalonde <olalonde@gmail.com>2012-10-24 00:45:10 +0800
committerBen Noordhuis <info@bnoordhuis.nl>2012-10-24 01:24:00 +0200
commit626db18635d9cdb3c1ed6766b94eef5a2520bdab (patch)
tree61cae879208a73a6aaffdda655012823662e4f9f
parent76a6c4bf2e30f4c4a342b0acde2927cfd5bcd61d (diff)
downloadnode-626db18635d9cdb3c1ed6766b94eef5a2520bdab.tar.gz
doc: child_process: document uid and gid spawn() options
-rw-r--r--doc/api/child_process.markdown2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/child_process.markdown b/doc/api/child_process.markdown
index d4616e63c..4417ed77e 100644
--- a/doc/api/child_process.markdown
+++ b/doc/api/child_process.markdown
@@ -250,6 +250,8 @@ there is no IPC channel keeping it alive. When calling this method the
for stdio. (See below)
* `env` {Object} Environment key-value pairs
* `detached` {Boolean} The child will be a process group leader. (See below)
+ * `uid` {Number} Sets the user identity of the process. (See setuid(2).)
+ * `gid` {Number} Sets the group identity of the process. (See setgid(2).)
* return: {ChildProcess object}
Launches a new process with the given `command`, with command line arguments in `args`.