Sha256: ff9649d149791122811d55f356963c6da30710aa7aa023227e4da23a23a5a40c

Contents?: true

Size: 704 Bytes

Versions: 8

Compression:

Stored size: 704 Bytes

Contents

---
title: ExecuteCommand
inMenu: true
template: /plugin.template
plugin: Tag/ExecuteCommand
---
h2(#description). Description


The execute command tag is used to include the output from a shell command. It also includes a
parameter for highlighting the output via the {plugin: Misc/SyntaxHighlighter}.


h2(#examples). Examples


<table class="examples">
<tr>
  <th>Usage</th><th>Output</th>
</tr>
<tr>
  <td>\{execute: uname -p}</td>
  <td><pre>{execute: uname -p}</pre></td>
</tr>
<tr>
  <td><notextile>\{execute: {command: 'echo puts LANG + 5.to_s', highlight: ruby}}</notextile></td>
  <td><notextile>{execute: {command: 'echo puts LANG + 5.to_s', highlight: ruby}}</notextile></td>
</tr>
</table>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
webgen-0.4.1 doc/src/documentation/plugins/tag/executecommand.page
webgen-0.4.2 doc/src/documentation/plugins/tag/executecommand.page
webgen-0.4.0 doc/src/documentation/plugins/tag/executecommand.page
webgen-0.4.4 doc/src/documentation/plugins/tag/executecommand.page
webgen-0.4.3 doc/src/documentation/plugins/tag/executecommand.page
webgen-0.4.5 doc/src/documentation/plugins/tag/executecommand.page
webgen-0.4.6 doc/src/documentation/plugins/tag/executecommand.page
webgen-0.4.7 doc/src/documentation/plugins/tag/executecommand.page