Docs
Sign in

Processes

The Processes page lets you run a command on one of your connected computers, or open an application there. Despite the subtitle, it cannot list or stop processes.

Screenshot to add: The Processes page with the Shell and Launch App tabs and the history table.

Open the page

Go to Studio → Desktop → Processes (/desktop/processes). It is titled Processes: "Execute shell commands and manage processes on agent machines." The menu needs apex.desktop.processes; the actions also need apex.desktop.tasks. Choose a computer with Target Machine, as on Clipboard.

The subtitle says "manage processes", but the page has no process list and no stop button. A stop capability exists in the product, but nothing here uses it.

Run a command

  1. Open the Shell tab

    Type the Command (for example echo 'Hello from APEX'). Ctrl+Enter runs it.

  2. Set the options

    Timeout (seconds) from 1 to 3600 (default 30), and an optional Working Directory (for example /home/user).

  3. Click Run Command

    It shows "Running…". The request now waits for approval.

  4. Approve it

    Someone with the right opens the Approval Queue. If nobody answers in 5 minutes, it fails: "Approval timed out — no response within the window".

  5. Read the result

    An Exit code badge, the output (green) and any errors (red).

Open an application

On the Launch App tab, enter the Application Name (for example "notepad, chrome, code") and Arguments (space-separated) (for example --new-window https://example.com). Click Launch App ("Launching…"). After approval you see "Application launched successfully. PID: (number)". Arguments are split on spaces only, so an argument that contains spaces will not work.

Skipping the approval

A person can set a capability to "auto" or "trust always", which skips the approval, unless the organisation forces approval. The Desktop Assistant on the computer also has its own approval prompt, which still applies.

Timing

The timeout you set is applied on the computer. If the computer gives no answer for 120 seconds, the task fails.

Process History

Columns: Time, Machine, Type (Shell or App), Command / App, Exit, Duration and Status. Empty: "No process history yet." and "Run a shell command or launch an app to create history entries."

Known gaps