adams.flow.source.Exec
Runs an external system command and broadcasts the generated output (stdout or stderr).
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 | Exec | 
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 | 
If set to true, then the output gets split on newline; does not apply when outputting stdout and stderr together.
| command-line | -split-output <boolean> | 
| default | false | 
The conversion scheme to apply to the output; does not apply when outputting stdout and stderr together.
| command-line | -conversion <adams.data.conversion.ConversionFromString> | 
| default | adams.data.conversion.StringToString | 
If enabled, the actor will fail as well if the process failed.
| command-line | -fail-on-process-error <boolean> | 
| default | true |