diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-08-01 03:24:29 +0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-08-01 03:24:29 +0400 |
commit | 19a62589b20000a64b5faf7992ad4f10801b2fe3 (patch) | |
tree | ea4b282ec0c09bccaa79925699f7bd05e7f09393 /src | |
parent | 4ac633bf2160b49746e279a745ac68e52009857c (diff) |
child_process_uv: add exec, fix simple/test-child-process-exec-cwd
Diffstat (limited to 'src')
-rw-r--r-- | src/process_wrap.cc | 2 |
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); } |