Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-08-01 04:51:41 +0400
committerRyan Dahl <ry@tinyclouds.org>2011-08-01 04:51:43 +0400
commit624dd38d898d9a69a60320010d8598823ab1f603 (patch)
treeb2e2724f0e1e9fd02a03ae02fc2d410d53e3ef35 /src
parentef767a152b1033c1dc67631b8cc377fb3acb933d (diff)
child_process_uv: fix test/simple/test-child-process-env
Diffstat (limited to 'src')
-rw-r--r--src/process_wrap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process_wrap.cc b/src/process_wrap.cc
index a26e3b5330f..fc3a1697a6f 100644
--- a/src/process_wrap.cc
+++ b/src/process_wrap.cc
@@ -113,7 +113,7 @@ class ProcessWrap : public HandleWrap {
}
// options.env
- Local<Value> env_v = js_options->Get(String::New("env"));
+ Local<Value> env_v = js_options->Get(String::New("envPairs"));
if (!env_v.IsEmpty() && env_v->IsArray()) {
Local<Array> env = Local<Array>::Cast(env_v);
int envc = env->Length();