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

Remove console.log from exec node

This commit is contained in:
Nicholas O'Leary 2013-10-14 23:19:01 +01:00
parent e6fe875e25
commit 3bab2a0b8d

View File

@ -34,7 +34,7 @@ function ExecNode(n) {
// then prepend with the msg.payload // then prepend with the msg.payload
var arg = node.append.split(","); var arg = node.append.split(",");
if (msg.payload != " ") { arg.unshift(msg.payload); } if (msg.payload != " ") { arg.unshift(msg.payload); }
console.log(arg); //console.log(arg);
var ex = spawn(node.cmd,arg); var ex = spawn(node.cmd,arg);
ex.stdout.on('data', function (data) { ex.stdout.on('data', function (data) {
//console.log('[exec] stdout: ' + data); //console.log('[exec] stdout: ' + data);