You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Child process fails to receive process.on('message', ...) in node v0.11.11 and greater.
if (process.send) {
process.send('online');
console.log("sent online");
}
process.on('message', function(m, server) {
//********** This never gets called in node v0.11.11 or greater. **********
console.log('Message' + m);
process.exit();
});
var number = 0;
function printMessage() {
number = number + 1;
console.log("Message " + number);
setTimeout(printMessage, 1000);
}
printMessage();
The text was updated successfully, but these errors were encountered:
naught start example.js
naught stop
Child process fails to receive process.on('message', ...) in node v0.11.11 and greater.
The text was updated successfully, but these errors were encountered: