1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Make exec node status indication consistent with others

This commit is contained in:
Dave Conway-Jones 2015-10-22 19:02:22 +01:00
parent 30e3525987
commit 86aa7c97be
2 changed files with 2 additions and 1 deletions

View File

@ -47,6 +47,7 @@
<p>The optional append gets added to the command after the <b>msg.payload</b> - so you can do things like pipe the result to another command.</p> <p>The optional append gets added to the command after the <b>msg.payload</b> - so you can do things like pipe the result to another command.</p>
<p>Parameters with spaces should be enclosed in quotes - <i>"This is a single parameter"</i></p> <p>Parameters with spaces should be enclosed in quotes - <i>"This is a single parameter"</i></p>
<p>If stdout is binary a <i>buffer</i> is returned - otherwise returns a <i>string</i>.</p> <p>If stdout is binary a <i>buffer</i> is returned - otherwise returns a <i>string</i>.</p>
<p>The blue status icon will be visible while the node is active.</p>
</script> </script>
<script type="text/javascript"> <script type="text/javascript">

View File

@ -30,7 +30,7 @@ module.exports = function(RED) {
var node = this; var node = this;
this.on("input", function(msg) { this.on("input", function(msg) {
node.status({fill:"blue",shape:"dot"}); node.status({fill:"blue",shape:"dot",text:" "});
if (this.useSpawn === true) { if (this.useSpawn === true) {
// make the extra args into an array // make the extra args into an array
// then prepend with the msg.payload // then prepend with the msg.payload