This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

process_wrap: don't use uv_spawn2

It was a temporary thing for the 0.6 branch only.
  • Loading branch information...
piscisaureus committed Apr 28, 2012
1 parent d2dd9d1 commit 3bcbd14bb18b444851b5f6c2cfdacea6403a694f
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/process_wrap.cc
View
@@ -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()));

0 comments on commit 3bcbd14

Please sign in to comment.