mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
parent
bbf9a3b7e4
commit
a57bf5383f
@ -6,7 +6,8 @@ module.exports = function(RED) {
|
||||
function DaemonNode(n) {
|
||||
RED.nodes.createNode(this,n);
|
||||
this.cmd = n.command;
|
||||
this.args = n.args.trim().split(" ") || [];
|
||||
//this.args = n.args.trim().split(" ") || [];
|
||||
this.args = n.args.trim().match(/("[^"]*")|[^ ]+/g);
|
||||
this.cr = n.cr;
|
||||
this.op = n.op;
|
||||
this.redo = n.redo;
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name" : "node-red-node-daemon",
|
||||
"version" : "0.1.2",
|
||||
"version" : "0.1.3",
|
||||
"description" : "A Node-RED node that runs and monitors a long running system command.",
|
||||
"dependencies" : {
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user