Start new process
Start new process
Starts a new process or opens a file/program on Windows. It allows you to run applications, scripts or open documents during the automation. It returns the name and the ID of the process started, which can be used by other process management actions.
Options
Full path/name of file/program to run
Full path or name of the executable/file to be opened, for example calc for the calculator, notepad for notepad or C:\Programs\app.exe for a specific executable.
Arguments (optional)
Command line arguments to be passed to the program, for example -a or --silent mode. Optional field available in the advanced options.
Returns
Javascript code
js
actions["action-id"].processName // name of the process started (Text)
actions["action-id"].id // ID of the process started (Number)
Field selection
- processName — name of the process started (Text)
- id — numeric identifier of the process started in the operating system (Number)
Rules and Conditions
- The Path/name field is required.
- The file or executable provided must exist and be accessible on the machine where the robot is executed.
- The ID returned can be used by the End process action to end the process later.