Supports Expression Language: true (will be evaluated using variable registry only)Command Arguments | Command Arguments | | | The arguments to supply to the executable delimited by white space. White space can be escaped by enclosing it in double-quotes. Supports Expression Language: true (will be evaluated using variable registry only) |
Batch Duration | Batch Duration | | | If the process is expected to be long-running and produce textual output, a batch duration can be specified so that the output will be captured for this amount of time and a FlowFile will then be sent out with the results and a new FlowFile will be started, rather than waiting for the process to finish before sending out the results |
Redirect Error Stream | Redirect Error Stream | false | | If true will redirect any error stream output of the process to the output stream. This is particularly helpful for processes which write extensively to the error stream or for troubleshooting. |
Working Directory | Working Directory | | | The directory to use as the current working directory when executing the command Supports Expression Language: true (will be evaluated using variable registry only) |
Argument Delimiter | Argument Delimiter | | | Delimiter to use to separate arguments for a command [default: space]. Must be a single character. |
Output MIME Type | Output MIME type | | | Specifies the value to set for the "mime.type" attribute. This property is ignored if 'Batch Duration' is set. |
Dynamic Properties:
Supports Sensitive Dynamic Properties: No
Dynamic Properties allow the user to specify both the name and value of a property.
Name | Value | Description |
---|
An environment variable name | An environment variable value | These environment variables are passed to the process spawned by this Processor Supports Expression Language: false |
Relationships:
Name | Description |
---|
success | All created FlowFiles are routed to this relationship |
Reads Attributes:
None specified.Writes Attributes:
Name | Description |
---|
command | Executed command |
command.arguments | Arguments of the command |
mime.type | Sets the MIME type of the output if the 'Output MIME Type' property is set and 'Batch Duration' is not set |
State management:
This component does not store state.Restricted:
Required Permission | Explanation |
---|
execute code | Provides operator the ability to execute arbitrary code assuming all permissions that NiFi has. |
Input requirement:
This component does not allow an incoming relationship.System Resource Considerations:
None specified.