Skip to main content
Roberty Studio
RPADesktop

Start new process

Start new process

Starts a new process or opens a file/program on the machine where the robot runs (Windows, macOS or Linux). 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​

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.
  • On macOS and Linux, when the path is a document, a URL or a .app application (macOS), it is opened by the system default program (open/xdg-open) and the action returns only processName, without id.