run

Parameters:
Name Type Required Default Hint
name string true The full pathname of the application to execute including extension
args string false
timeout numeric false 60 Ho many seconds to wait. A timeout of 0 returns immediatley without waiting, ignoring any output from the command.

Command Usage

Execute an operation system level command. By default, "run" will wait 60 seconds for the command to complete

run "C:\Windows\System32\SoundRecorder.exe"
Wait a max of 10 seconds for the command to finish.
run cmd "/c npm ll" 10
Kick off the command asyncronoysly and don't wait at all. Also, discard any output.
run myApp.exe 0
Executing Java would look like this
run java "-jar myLib.jar"