Execute Command
This processor will execute a command with the provided arguments. This processor will return an error if any of the required parameters are missing or if the parameters are of the wrong type. The command parameter is required, while the args parameter is optional.
- type:
os.exec - params:
- args: (optional) the arguments for the command
- command: the command to execute
Example
Section titled “Example”Run echo command.
- id: create type: os.exec params: command: "echo" args: ["hello"]