launch_app
Launch a Windows executable and optionally wait for its first visible window. Control window focus with noActivate and startMinimized options.
Instructions
Launch a Windows .exe and optionally wait for its first visible window. Use noActivate to prevent the window from stealing focus.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exePath | Yes | Absolute path to the .exe to launch. | |
| args | No | Process arguments as an array. | |
| cwd | No | Optional working directory for the process. | |
| waitForWindow | No | Wait for the first visible window for the process. | |
| timeoutMs | No | ||
| startMinimized | No | Start the process minimized. The window will not appear on top. | |
| noActivate | No | When true, the window is placed at the bottom of the z-order without receiving focus. Combines well with startMinimized for fully non-intrusive launches. |