summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2012-04-29 00:24:51 +0200
committerBert Belder <bertbelder@gmail.com>2012-04-29 00:24:51 +0200
commit3bcbd14bb18b444851b5f6c2cfdacea6403a694f (patch)
tree140832a77224273805d5bf1da28f1f32d105d457 /src
parentd2dd9d108d6bd61ac49522450b98ad57eac5be45 (diff)
downloadnode-new-3bcbd14bb18b444851b5f6c2cfdacea6403a694f.tar.gz
process_wrap: don't use uv_spawn2
It was a temporary thing for the 0.6 branch only.
Diffstat (limited to 'src')
-rw-r--r--src/process_wrap.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/process_wrap.cc b/src/process_wrap.cc
index 08453f8441..59a61cd241 100644
--- a/src/process_wrap.cc
+++ b/src/process_wrap.cc
@@ -101,7 +101,7 @@ class ProcessWrap : public HandleWrap {
Local<Object> js_options = args[0]->ToObject();
- uv_process_options2_t options;
+ uv_process_options_t options;
memset(&options, 0, sizeof(uv_process_options_t));
options.exit_cb = OnExit;
@@ -211,7 +211,7 @@ class ProcessWrap : public HandleWrap {
options.flags |= UV_PROCESS_WINDOWS_VERBATIM_ARGUMENTS;
}
- int r = uv_spawn2(uv_default_loop(), &wrap->process_, options);
+ int r = uv_spawn(uv_default_loop(), &wrap->process_, options);
if (r) {
SetErrno(uv_last_error(uv_default_loop()));