Back to the extension listing.
Webgen::Tag::ExecuteCommand
Summary
The following tag names are registered for this tag class: execute_cmd
This tag uses the following options:
tag.executecommand.command
(mandatory default)tag.executecommand.process_output
tag.executecommand.escape_html
Description
The execute command tag is used to include the output from a shell command.
Examples
Usage | Output |
---|---|
{execute_cmd: uname -p} | unknown |
{execute_cmd: {command: 'ruby -v'}} | ruby 1.9.2dev (2010-07-02 revision 28524) [x86_64-linux] |
Back to the extension listing.