Site updated at 2017-05-04 16:07:31 UTC

This commit is contained in:
Travis CI 2017-05-04 16:07:31 +00:00
parent ac6c711cff
commit 7811b524bc
26 changed files with 40 additions and 40 deletions

View file

@ -78,7 +78,7 @@
<li>Alias for the command</li>
<li>Command itself.</li>
</ul>
<p>The commands can be dynamic, using templates to insert values of other entities. When using templates you are limited to only template the arguments. You are also no longer allowed to use pipe symbols when using templates.</p>
<p>The commands can be dynamic, using templates to insert values for arguments. When using templates, shell_command runs in a more secure environment which doesnt allow any shell helpers like automatically expanding the home dir <code class="highlighter-rouge">~</code> or using pipe symbols to run multiple commands.</p>
<p>Any service data passed into the service call to activate the shell command will be available as a variable within the template.</p>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code>
<span class="c1"># Apply value of a GUI slider to the shell_command</span>