1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

undo exec node change (investigate test fail)

This commit is contained in:
Dave Conway-Jones 2018-02-06 11:42:33 +00:00
parent 0968f96982
commit a596a4551a
No known key found for this signature in database
GPG Key ID: 9E7F9C73F5168CD4

View File

@ -152,9 +152,9 @@ module.exports = function(RED) {
msg.rc = msg3.payload;
if (msg2) { msg2.rc = msg3.payload; }
}
node.send([msg,msg2,msg3]);
if (child.tout) { clearTimeout(child.tout); }
delete node.activeProcesses[child.pid];
node.send([msg,msg2,msg3]);
});
node.status({fill:"blue",shape:"dot",text:"pid:"+child.pid});
child.on('error',function() {});