Skip to main content

Start program

Start a program and continue without waiting; returns its process id.

Command in the Application toolkit · id ooa.application/start_program · 7 inputs (1 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
ProgramStringYesProgram name or full path.
ArgumentsListNoArguments, one list item each.
Working folderFileNoFolder to start in.
Window stateStringNonormalHow the program's main window opens (Windows); other systems always use normal.
EnvironmentDictionaryNoExtra environment variables for the program; an empty value removes one.
Wait (seconds)NumberNo0Pause this long after starting so the program can open its window; 0 continues at once.
Allow shell operatorsBooleanNofalseFor cmd.exe and .bat/.cmd files only: let arguments contain & | < > ^ or quotes, which cmd reads as command operators. Leave off when arguments carry data (file names, e-mail subjects): such characters are then refused, so data can never run a command.

Outputs​

OutputTypeWhat it is
process_idNumberProcess id, used by Stop program.