mirror of
				https://github.com/node-red/node-red-nodes.git
				synced 2025-03-01 10:37:43 +00:00 
			
		
		
		
	| @@ -60,8 +60,10 @@ module.exports = function(RED) { | |||||||
|                         line += data.toString(); |                         line += data.toString(); | ||||||
|                         var bits = line.split("\n"); |                         var bits = line.split("\n"); | ||||||
|                         while (bits.length > 1) { |                         while (bits.length > 1) { | ||||||
|                             lastmsg.payload = bits.shift(); |                             var m = RED.util.cloneMessage(lastmsg); | ||||||
|                             node.send([lastmsg,null,null]); |                             m.payload = bits.shift(); | ||||||
|  |                             console.log(m); | ||||||
|  |                             node.send([m,null,null]); | ||||||
|                         } |                         } | ||||||
|                         line = bits[0]; |                         line = bits[0]; | ||||||
|                     } |                     } | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| { | { | ||||||
|     "name"          : "node-red-node-daemon", |     "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.", |     "description"   : "A Node-RED node that runs and monitors a long running system command.", | ||||||
|     "dependencies"  : { |     "dependencies"  : { | ||||||
|     }, |     }, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user