From a596a4551ab13531b735453108de8f93d4346780 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Tue, 6 Feb 2018 11:42:33 +0000 Subject: [PATCH] undo exec node change (investigate test fail) --- nodes/core/core/75-exec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes/core/core/75-exec.js b/nodes/core/core/75-exec.js index 3179d26d0..2638dd1da 100644 --- a/nodes/core/core/75-exec.js +++ b/nodes/core/core/75-exec.js @@ -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() {});