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>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>The blue status icon will be visible while the node is active.</p>
</script>
<script type="text/javascript">

View File

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