node-red-daemon append arguments (#939)

* Allow msg.start to append arguments

* Update description

* Update README.md
This commit is contained in:
kaffetorsk
2022-10-26 16:22:48 +02:00
committed by GitHub
parent c15fa79e95
commit 4c9afda6dd
3 changed files with 27 additions and 13 deletions

View File

@@ -5,7 +5,7 @@
<p>Parameters can be space separated, space separated with quotes, or a javascript array. For example `aa bb` or `"cc dd"` or `["aa","bb cc""]`.</p>
<p>If the called program stops (i.e. a return code is produced), this node can attempt to restart the command.</p>
<p>Setting <code>msg.kill</code> to a signal name (e.g. SIGINT, SIGHUP) will stop the process - but if the
restart flag is set it will then auto restart. Sending <code>msg.start</code> will also re-start the process.</p>
restart flag is set it will then auto restart. Sending <code>msg.start</code> will also re-start the process. Additional arguments can be specified in <code>msg.args</code>.</p>
<p><b>Note:</b> Some applications will automatically buffer lines of output. It is advisable to turn off this behaviour.
For example, if running a Python app, the <code>-u</code> parameter will stop the output being buffered.</p>
</script>