We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbf9a3b commit a57bf53Copy full SHA for a57bf53
utility/daemon/daemon.js
@@ -6,7 +6,8 @@ module.exports = function(RED) {
6
function DaemonNode(n) {
7
RED.nodes.createNode(this,n);
8
this.cmd = n.command;
9
- this.args = n.args.trim().split(" ") || [];
+ //this.args = n.args.trim().split(" ") || [];
10
+ this.args = n.args.trim().match(/("[^"]*")|[^ ]+/g);
11
this.cr = n.cr;
12
this.op = n.op;
13
this.redo = n.redo;
utility/daemon/package.json
@@ -1,6 +1,6 @@
1
{
2
"name" : "node-red-node-daemon",
3
- "version" : "0.1.2",
+ "version" : "0.1.3",
4
"description" : "A Node-RED node that runs and monitors a long running system command.",
5
"dependencies" : {
},
0 commit comments