exec
Command Reference
Description
executes a command
static: This command can be run outside of an object context.
Usage
ctl -m Deployment -c exec [-argline <>] -executable <> [-failonerror <true>] [-os <>] [-output <>] [-script <>] [-scriptfile <>] [-scripturl <>] -strategy <shellutil> [-timeout <>]
Options
Option | Description | Type | Default |
---|---|---|---|
argline | arguments for execututable | string | |
executable | executable path | string | |
failonerror | fail if there is an error | string | true |
os | list of Operating Systems on which the command may be executed. | string | |
output | Name of a file to which to write the output. If the error stream is not also redirected to a file or property, it will appear in this output. | string | |
script | script to execute | string | |
scriptfile | scriptfile to execute | string | |
scripturl | URL of a script to execute, supporting the dav:// protocol | string | |
strategy | strategy module | string | shellutil |
timeout | Stop the command if it doesn't finish within the specified time | string |