nw open window as child-process communications not work #577

amb4eg opened this Issue Mar 28, 2013 · 3 comments


None yet

3 participants


I try open new window as 'child-process' fork with new dir and pakage file
var cp = require('child_process');
global.n = cp.fork('./node-webkit',
{ encoding: 'utf8',
timeout: 0,
maxBuffer: 200*1024,
killSignal: 'SIGTERM',
cwd: null,
env: {PORT:8000}
and send message to new process:
global.n.send({ hello: 'world' });

In child process event not call 8-(
process.on('message', function(m) {

console.log('message: '+m);

There is possible to use this method?


now, the method is not supported.


Possible to make inter-process communication in a future version?

nwjs member

close as duplicate of #213

@rogerwang rogerwang closed this Feb 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment