Skip to content


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

amb4eg opened this Issue · 3 comments

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?


close as duplicate of #213

@rogerwang rogerwang closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.