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:
authorBen Noordhuis <info@bnoordhuis.nl>2011-08-04 20:40:41 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2011-08-04 20:40:41 +0400
commit2bbb46842848b8def1188932755054aa808ccbe6 (patch)
tree86057becc103d5837bf46ff135c8bb3e6671cf76 /src
parentac722bbed6ea846991904ed205a6dc5ece4748c9 (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.cc2
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);