aboutsummaryrefslogtreecommitdiff
path: root/test/fixtures/child-process-message-and-exit.js
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2012-08-30 16:13:27 +0200
committerBert Belder <bertbelder@gmail.com>2012-08-30 16:13:27 +0200
commitb0d2795fe9501218dd8c953252fffe2d05d59c2a (patch)
tree0dd79d375d007529b2528339a043d1e00c37c377 /test/fixtures/child-process-message-and-exit.js
parent355c14842734e790a2581b9db58041c7ca54edf9 (diff)
downloadandroid-node-v8-b0d2795fe9501218dd8c953252fffe2d05d59c2a.tar.gz
android-node-v8-b0d2795fe9501218dd8c953252fffe2d05d59c2a.tar.bz2
android-node-v8-b0d2795fe9501218dd8c953252fffe2d05d59c2a.zip
child process: fix processes with IPC channel don't emit 'close'
With this patch the IPC socket is no longer available in the ChildProcess.stdio array. This shouldn't be very problematic, since this socket was effectively non-functional; it would never emit any events.
Diffstat (limited to 'test/fixtures/child-process-message-and-exit.js')
-rw-r--r--test/fixtures/child-process-message-and-exit.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/fixtures/child-process-message-and-exit.js b/test/fixtures/child-process-message-and-exit.js
new file mode 100644
index 0000000000..56e83ce801
--- /dev/null
+++ b/test/fixtures/child-process-message-and-exit.js
@@ -0,0 +1,3 @@
+
+process.send('hello');
+process.exit(0);