spawn_program
Start an allowed program by name in a session to get its PID, then wait for its window before inspecting it.
Instructions
Start one of the programs the person allowed this server to run, by its name, in a session; nothing else can run. The answer gives its pid. Then wait_for its window, by the program's name, before looking at it. If it doesn't come up, get_program_output says why.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| program | Yes | Its name in the allow list | |
| session | Yes | Its name, from start_session |