adams.flow.source.Command
Runs an external system command and broadcasts the generated output (stdout and/or stderr) continuously, opposed to adams.flow.source.Exec which waits for the command to finish.
Flow input/output:
- output: java.lang.String
The logging level for outputting errors and debugging output.
| command-line | -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> | 
| default | WARNING | 
| min-user-mode | Expert | 
The name of the actor.
| command-line | -name <java.lang.String> | 
| default | Command | 
The annotations to attach to this actor.
| command-line | -annotation <adams.core.base.BaseAnnotation> | 
| default |  | 
If set to true, transformation is skipped and the input token is just forwarded as it is.
| command-line | -skip <boolean> | 
| default | false | 
If set to true, the flow execution at this level gets stopped in case this actor encounters an error; the error gets propagated; useful for critical actors.
| command-line | -stop-flow-on-error <boolean> | 
| default | false | 
| min-user-mode | Expert | 
If enabled, then no errors are output in the console; Note: the enclosing actor handler must have this enabled as well.
| command-line | -silent <boolean> | 
| default | false | 
| min-user-mode | Expert | 
The external command to run.
| command-line | -cmd <adams.core.base.BaseText> | 
| default | ls -l . | 
The current working directory for the command.
| command-line | -working-directory <java.lang.String> | 
| default |  | 
The environment variables to overlay on top of the current ones.
| command-line | -env-var <adams.core.base.BaseKeyValuePair> [-env-var ...] | 
| default |  | 
Set this to true to enable automatic placeholder expansion for the command string.
| command-line | -placeholder <boolean> | 
| default | false | 
Set this to true to enable automatic variable expansion for the command string.
| command-line | -variable <boolean> | 
| default | false | 
Determines the output type; if BOTH is selected then an array is output with stdout as first element and stderr as second
| command-line | -output-type <STDOUT|STDERR|BOTH> | 
| default | STDOUT | 
The (optional) prefix to use for output from stdout.
| command-line | -prefix-stdout <java.lang.String> | 
| default |  | 
The (optional) prefix to use for output from stderr.
| command-line | -prefix-stderr <java.lang.String> | 
| default |  | 
The maximum time in seconds for the process to run before getting killed, ignored if less than 1.
| command-line | -time-out <int> | 
| default | -1 | 
| minimum | -1 |