Help Centre › Building Processes
This article describes the RPA Code functionality to execute a Shell Command.
For a full list of available functions, please read CODE functions.
Description
The CODE Execute a Shell Command function allows you to execute a Shell Command.
Setting it up
To use the CODE Execute a Shell Command function, follow these instructions:
{{popups:rpas/add:action=shell-command}}
Once on a process map:
- Navigate to the process where you would like to add the CODE Execute a Shell Command function
- Click on the green button’s drop-down (right side of the green button labelled “Process”)
- On the menu that appears, click on the “+ Activity” item
- From here you can select the CODE Execute a Shell Command option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Command | Yes | Textarea | - | The shell command to execute |
Output variables
This action does not produce output variables.
Errors
| Error | Description |
|---|---|
| Command failed | The shell command returned an error |
Tips
- Executes a shell/command line command on the bot
- Use for system-level operations