I would like to setup an IPC pipe with a submodule. Unfortunately it
seems impossible to provide a stdio array with fork like the way this is
done with spawn.
Two questions:
1. is the following equivalent to `fork('lib/foo')`?
spawn('node', ['lib/foo'], {
stdio: ['pipe', 'pipe', 'pipe', 'ipc']
});
2. should I use spawn when I want to share a pipe with a submodule? i.e.
spawn('node', ['lib/foo'], {
stdio: ['pipe', 'pipe', 'pipe', 'ipc', 'pipe']
});
-Tim
--
Job board: http://jobs.nodejs.org/
New group rules:
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules:
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/nodejs/544D3522.4040904%40netsend.nl.
For more options, visit https://groups.google.com/d/optout.