To synchronously launch scripts and executables on various platforms as part of a chain, add a step that includes a Script Runner Run Script command. The connection supports the execution of native binaries, batch, and shell scripts on Microsoft Windows® and non-Windows platforms.
To enable this command, an IT admin first sets up a Script Runner connector.
Note: To perform this command, the connector requires a GroundRunner.
Run script
To run an arbitrary script, use a Run script command with single-executable parameters.
- In the Command property, enter each parameter as a separate element.
- In the Arguments property, provide incremental parameters and controls used by the executable.
Windows batch script properties
For a Windows batch script, such as echo %1 %2:

| Property | Detail |
|---|---|
| Command | Enter the path to the .BAT file of the batch script to run. |
| Arguments | Enter the parameters of the batch script, pressing Enter after each. |
Python script properties
For a Python script that requires two parameters:

| Property | Detail |
|---|---|
| Command | Enter the path to the .EXE file of the Python script to run. |
| Arguments | Enter the script name and the parameters of the Python script, pressing Enter after each. |
Windows CLI command properties
For a Windows command-line interface (CLI) command, most are a function under the cmd.exe executable:
| Property | Detail |
|---|---|
| Command | To execute cmd.exe, enter its path such as C:\Windows\System32\cmd.exe. |
| Arguments | Enter the functions to pass as parameters. For example, to list the files in a directory, /C dir c:\temp. |
Linux or macOS command properties
For a Linux® or macOS CLI command, most are a function under the sh executable:
| Property | Detail |
|---|---|
| Command | To execute sh, enter its path such as /bin/sh. |
| Arguments | Enter the functions to pass as parameters. For example, to list the files in a directory, c ls -1 /home/demouser/. |
Other script properties
For other scripts:
| Property | Detail |
|---|---|
| Command | Enter the command to run, such as sh, bash, .\script.bat. |
| Arguments | Enter the arguments to pass to the command, pressing Enter after each. |
Outputs
| Output | Output type |
|---|---|
| Exit code | Integer |
| Output | String |
Exit codes
| Code | Type | Detail |
|---|---|---|
| 0 | Success | Success |
| 1 | Error | Invalid inputs |
| 2 | Error | Task failed |