Run a Program

Execute an external program or script

With this sub-action, you can run an exe, batch file, cmdlet, Powershell script, URI, or anything you can normally run via the Win+R, Windows Run dialog, or command prompt.

A common usage for this action, is using the LIV URI for switching camera profiles liv-app://camera/set/#

![perform-command-dialog.png](/Sub-Actions/perform-command-dialog.png =400x)

Configuration

Command

The command or executable to run

Working Directory

The working directory for the command - defaults to the directory of the executable

Arguments

Optional arguments or flags to pass to the executable

Wait

Optional delay in seconds

Environment Variables

Define any optional environment variables you would like to pass to the executable