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 03:24:29 +0400
committerRyan Dahl <ry@tinyclouds.org>2011-08-01 03:24:29 +0400
commit19a62589b20000a64b5faf7992ad4f10801b2fe3 (patch)
treeea4b282ec0c09bccaa79925699f7bd05e7f09393 /src
parent4ac633bf2160b49746e279a745ac68e52009857c (diff)
child_process_uv: add exec, fix simple/test-child-process-exec-cwd
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 6d9a230a9c0..9c56b015839 100644
--- a/src/process_wrap.cc
+++ b/src/process_wrap.cc
@@ -106,7 +106,7 @@ class ProcessWrap : public HandleWrap {
// options.cwd
Local<Value> cwd_v = js_options->Get(String::New("cwd"));
if (!cwd_v.IsEmpty() && cwd_v->IsString()) {
- String::Utf8Value cwd(js_options->ToString());
+ String::Utf8Value cwd(cwd_v->ToString());
options.cwd = strdup(*cwd);
}