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
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Program | String | Yes | Program name or full path. | |
| Arguments | List | No | Arguments, one list item each. | |
| Working folder | File | No | Folder to start in. | |
| Window state | String | No | normal | How the program's main window opens (Windows); other systems always use normal. |
| Environment | Dictionary | No | Extra environment variables for the program; an empty value removes one. | |
| Wait (seconds) | Number | No | 0 | Pause this long after starting so the program can open its window; 0 continues at once. |
| Allow shell operators | Boolean | No | false | For 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
| Output | Type | What it is |
|---|---|---|
| process_id | Number | Process id, used by Stop program. |