Shell Command
Runs a command in the default shell of the controller's operating system. Use it to run system commands or to launch external programs and scripts.
Command
Enter the shell command to run (for example, ls -al /home or python /path/script.py). The command runs in the default shell of the controller's operating system.
Wait for Completion
Select whether the action waits until the command finishes. The default is off. When it is on, the execution result can be stored in a variable.
Execution Result
Select a Text variable to store the output of the command. Displayed only when Wait for Completion is on.
Duplicate Handling
Select what happens when a process with the same name is already running.
- Allow Duplicate (default): Starts a new process even if one with the same name exists.
- No Duplicate: Skips execution if a process with the same name is already running.
- Kill Previous Process: Forcibly terminates the existing process with the same name and then starts a new one.