Open node REPL, enter:

require('child_process').spawn('jo')

0.8.x displays the result value and in REPL

0.9.x displays result value, then displays a stacktrace and exits REPL

Here is the trace:

events.js:69
        throw arguments[1]; // Unhandled 'error' event
                       ^
Error: read ENOTCONN
    at errnoException (net.js:847:11)
    at Socket._read (net.js:351:21)
    at Socket.Readable.read (_stream_readable.js:208:10)
    at Socket.read (net.js:249:43)
    at new Socket (net.js:172:10)
    at createSocket (child_process.js:63:11)
    at child_process.js:933:22
    at Array.forEach (native)
    at ChildProcess.spawn (child_process.js:922:9)
    at Object.exports.spawn (child_process.js:709:9)

Same error is displayed by node-gyp when it tries to build binary addons 
and runs 'reg.exe' tool to read registry to detect installed compilers, so 
the problem is not specific to REPL.

Should I add it to issues or it is a known problem?

Andy

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to