adams.flow.source.PythonExec
Executes the specified Python script with the specified options and broadcasts the generated output (stdout and/or stderr) continuously.
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 | PythonExec |
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 |
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 |
The Python command to run.
command-line | -script <adams.core.io.PlaceholderFile> |
default | ${CWD} |
The command-line options for the script.
command-line | -script-options <adams.core.base.BaseText> |
default |
|
The current working directory for the command.
command-line | -working-directory <java.lang.String> |
default |
|
Set this to true to enable automatic placeholder expansion for the option string.
command-line | -placeholder <boolean> |
default | false |
Set this to true to enable automatic variable expansion for the option string.
command-line | -variable <boolean> |
default | false |