mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
parent
a57de3d8f2
commit
3087e8e2a1
@ -60,8 +60,10 @@ module.exports = function(RED) {
|
||||
line += data.toString();
|
||||
var bits = line.split("\n");
|
||||
while (bits.length > 1) {
|
||||
lastmsg.payload = bits.shift();
|
||||
node.send([lastmsg,null,null]);
|
||||
var m = RED.util.cloneMessage(lastmsg);
|
||||
m.payload = bits.shift();
|
||||
console.log(m);
|
||||
node.send([m,null,null]);
|
||||
}
|
||||
line = bits[0];
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name" : "node-red-node-daemon",
|
||||
"version" : "0.0.25",
|
||||
"version" : "0.0.26",
|
||||
"description" : "A Node-RED node that runs and monitors a long running system command.",
|
||||
"dependencies" : {
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user