shellcmd¶
The plugin keeps track of the process by letting you assign a name to it and allows you to report on the status.
Associated DataTypes¶
ShellCmd¶
- The plugin keeps track of the process by letting you assign a name to it and allows you to report on the status.
-
Members
string
command[CommandName]¶- Tells you what command was run (w/ escaped backslashes)
string
full[CommandName]¶- Tells you the full command (w/ escaped backslashes)
string
status[CommandName]¶- Current status - Either Starting, Failed, Running, Unknown or Exit + code
bool
kill[CommandName]¶- Kills the cmd process that was spawned and clears memory. Returns Success/Fail + Exit Code
Examples¶
${shellcmd.command[CommandName]} -- String - Tells you what command was run (w/ escaped backslashes)
${shellcmd.full[CommandName]} -- String - Tells you the full command (w/ escaped backslashes)
${shellcmd.status[CommandName]} -- String - Current status - Either Starting, Failed, Running, Unknown or Exit + code
${shellcmd.kill[CommandName]} -- Bool - Kills the cmd process that was spawned and clears memory. Returns Success/Fail + Exit Code
Example:
/echo ${shellcmd.status[TestCommand]}
This TLO is added by MQ2ShellCmd.