aos launch
Start applications
1 command. Run aos launch --help for the same list from the binary, or see every group.
Start an application by name. --wait blocks until its window exists, so the next command can act on it. Unknown flags are passed through to the application on purpose. --or-focus raises the app’s window if it is already open and launches it only when it is not, so an agent can say “get me Slack” without opening a second copy.
Commands
Section titled “Commands”aos launch
Section titled “aos launch”Launch an application, optionally waiting for its window
needs a display
Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works
aos launch <app> [args...] [--wait[=<ms>]] [--or-focus]| flag | values | meaning |
|---|---|---|
<app> |
Required positional argument | |
<ms> |
Optional positional argument | |
--wait |
Optional | |
--or-focus |
Optional |
aos launch "Visual Studio Code"aos launch Chrome --waitaos launch Slack --or-focus # raise Slack's window if it is open, else start it