diff --git a/nodes/core/core/75-exec.js b/nodes/core/core/75-exec.js index a12baf40e..c2e75a1cf 100644 --- a/nodes/core/core/75-exec.js +++ b/nodes/core/core/75-exec.js @@ -55,6 +55,9 @@ module.exports = function(RED) { node.status({}); node.send([null,null,msg]); }); + ex.on('error', function (code) { + node.warn(code); + }); } else { node.error("Spawn command must be just the command - no spaces or extra parameters"); } }