mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
add lables to daemon node
This commit is contained in:
parent
316a2fd272
commit
faba134e42
@ -59,6 +59,7 @@
|
|||||||
},
|
},
|
||||||
inputs:1,
|
inputs:1,
|
||||||
outputs:3,
|
outputs:3,
|
||||||
|
outputLabels: ["stdout","stderr","exit code"],
|
||||||
icon: "arrow-in.png",
|
icon: "arrow-in.png",
|
||||||
align: "right",
|
align: "right",
|
||||||
label: function() {
|
label: function() {
|
||||||
|
@ -46,7 +46,8 @@ module.exports = function(RED) {
|
|||||||
node.send([{payload:bits.shift()},null,null]);
|
node.send([{payload:bits.shift()},null,null]);
|
||||||
}
|
}
|
||||||
line = bits[0];
|
line = bits[0];
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
if (data && (data.length !== 0)) {
|
if (data && (data.length !== 0)) {
|
||||||
node.send([{payload:data},null,null]);
|
node.send([{payload:data},null,null]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user