diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2011-08-04 20:40:41 +0400 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2011-08-04 20:40:41 +0400 |
commit | 2bbb46842848b8def1188932755054aa808ccbe6 (patch) | |
tree | 86057becc103d5837bf46ff135c8bb3e6671cf76 /src | |
parent | ac722bbed6ea846991904ed205a6dc5ece4748c9 (diff) |
child process: bind to libuv's kill process API
Fixes failing test test/simple/test-child-process-kill.js
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 fc3a1697a6f..7ec9ffcc460 100644 --- a/src/process_wrap.cc +++ b/src/process_wrap.cc @@ -193,7 +193,7 @@ class ProcessWrap : public HandleWrap { Local<Value> argv[2] = { Integer::New(exit_status), - Integer::New(term_signal) + String::New(signo_string(term_signal)) }; MakeCallback(wrap->object_, "onexit", 2, argv); |