diff --git a/common.gypi b/common.gypi
index 5dde273f6a6..8b3e7c2e740 100644
--- a/common.gypi
+++ b/common.gypi
@@ -32,7 +32,7 @@
'VCCLCompilerTool': {
'RuntimeLibrary': 1, # static debug
'Optimization': 0, # /Od, no optimization
- 'MinimalRebuild': 'true',
+ 'MinimalRebuild': 'false',
'OmitFramePointers': 'false',
'BasicRuntimeChecks': 3, # /RTC1
},
diff --git a/doc/api/child_process.markdown b/doc/api/child_process.markdown
index 489b072f741..4dc156255bf 100644
--- a/doc/api/child_process.markdown
+++ b/doc/api/child_process.markdown
@@ -329,10 +329,6 @@ leaner than `child_process.exec`. It has the same options.
* `setsid` {Boolean}
* `encoding` {String} (Default: 'utf8')
* `timeout` {Number} (Default: 0)
-* `callback` {Function} called with the output when process terminates
- * `code` {Integer} Exit code
- * `stdout` {Buffer}
- * `stderr` {Buffer}
* Return: ChildProcess object
This is a special case of the `spawn()` functionality for spawning Node
diff --git a/doc/index.html b/doc/index.html
index 98187f7c70e..9f61fd1fff9 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -32,6 +32,8 @@
Download
Docs
__VERSION__
+
+
Node.js in the Industry
diff --git a/doc/pipe.css b/doc/pipe.css
index 5c1ce79b0e9..286c1a6fca8 100644
--- a/doc/pipe.css
+++ b/doc/pipe.css
@@ -99,10 +99,19 @@ h1 a, h2 a, h3 a, h4 a
border-radius: 4px;
margin: 0 1px;
color: #46483e;
+ background-color: #9a9f8b;
+}
+
+#intro .forkme {
+ position: absolute;
+ top: 0;
+ right: 0;
+ border: 0;
}
#intro .button:hover {
text-decoration: none;
+ background-color: #aab293;
}
#intro #downloadbutton {
@@ -113,14 +122,6 @@ h1 a, h2 a, h3 a, h4 a
background-color: #73a53e;
}
-#intro #docsbutton {
- background-color: #9a9f8b;
-}
-
-#intro #docsbutton:hover {
- background-color: #aab293;
-}
-
#quotes {
text-align: center;
width: 100%;
diff --git a/lib/child_process.js b/lib/child_process.js
index 9406f9547ca..d40566f3d63 100644
--- a/lib/child_process.js
+++ b/lib/child_process.js
@@ -370,7 +370,9 @@ var spawn = exports.spawn = function(file, args, options) {
windowsVerbatimArguments: !!(options && options.windowsVerbatimArguments),
envPairs: envPairs,
customFds: options ? options.customFds : null,
- stdinStream: options ? options.stdinStream : null
+ stdinStream: options ? options.stdinStream : null,
+ uid: options ? options.uid : null,
+ gid: options ? options.gid : null
});
return child;
diff --git a/src/process_wrap.cc b/src/process_wrap.cc
index aee9a01501a..08453f84419 100644
--- a/src/process_wrap.cc
+++ b/src/process_wrap.cc
@@ -53,6 +53,8 @@ using v8::TryCatch;
using v8::Context;
using v8::Arguments;
using v8::Integer;
+using v8::Exception;
+using v8::ThrowException;
static Persistent
onexit_sym;
@@ -99,22 +101,54 @@ class ProcessWrap : public HandleWrap {
Local