Run Shell Command

This handler (com.rierino.handler.ShellEventHandler) provides ability to execute shell commands.

Handler Parameters

Parameter
Definition
Example
Default

processState

Name of the state manager to record shell process results

process

-

Actions

CallShell

Executes given shell command. Event metadata parameters applicable for this action are as follows:

Parameter
Definition
Example
Default

command

Main command to execute

ls

-

track

Whether status updates should be recorded in process state or not

true

false

param_[i]_arg

Name of the ith argument to add

--dir

-

param_[i]_value

Value of the ith argument to add

/tmp

-

param_[i]_path

Path from input payload for ith argument

parameters.dir

-

param_[i]_asText

Whether payload value should be added as text

true

false

param_[i]_repeat

Whether array or object payload values should repeat argument

true

false

param_[i]_delimiter

Delimiter to put between array or object payload values if argument won't be repeated

,

-

param_[i]_separator

Separator to put between argument and object values if argument will be repeated

=

-

Last updated