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:
parent
e6fe875e25
commit
3bab2a0b8d
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user