-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Nested child_processes piping to stdout cause freeze #1726
Comments
Which node version is this? |
Sorry, forgot that. Master branch, 0.5.8-pre, 243c218. |
definitely a bug. the test has been landed in master but is broken. works in windows! |
Root cause: This is decreasing the libev loop reference count, libev has asserts to check for this (at least when the This example is illustrative: console.error("process.stdout._type = " + process.stdout._type);
process.stdout.write('hello world\n');
process.stdout.end(); After Probably we need to stop using libev's reference counter. This has been a long time in the coming. I landed some tests in libuv in preparation for this switch |
The above hack is pretty awful. It would be nice have the ability to "unref" a whole handle in libuv. |
@ry -
|
Test script:
Output:
The text was updated successfully, but these errors were encountered: