On Wednesday, May 22, 2013 7:49:27 AM UTC+2, 鋆邓 wrote:
> I use the code from http://www.nodejs.org/api/child_process.html. The
> main process will quit when client sent any data to server. (It quited
> silently without any more log, so I think it crashed, is it?)
> My operation system is Windows 7 x64. Tested both x86 version and x64
> version nodejs(0.10.7).
>
> It runs very nice on another 2 computer(one Windows7 x64 and another
> Windows XP x86) and linux(ubuntu x64). I cannot find any difference between
> my computer and the other Windows7 x64. Any one met same problems?
>
To make debugging a little easier make sure to send the output from your
workers to the stdout. An easy way to do this:
var normal = require('child_process').fork('worker.js', ['normal'], {stdio:
['ipc', 'inherit', 'inherit']});
var special = require('child_process').fork('worker.js', ['special'],
{stdio: ['ipc', 'inherit', 'inherit']});
The problem you are seeing might indicate a node bug. Can you run the
following command in the console on the offending machine, and send the
output to me?
netsh winsock show catalog
- Bert
--
--
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 and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.