app_launch
Launch desktop GUI applications in GhostDesk's virtual Linux environment, returning process details and log file paths for background execution monitoring.
Instructions
Launch a desktop GUI application and return its PID and log file path.
Only applications listed by app_list() are accepted. The process
runs in the background; its stdout and stderr are captured in a log
file under /tmp/ghostdesk/proc-<pid>.log. Use app_status(pid)
to check whether it is still running and to read its output.
Returns a dict with:
pid: the process ID of the launched application.
log_file: path to the file capturing stdout and stderr.
action: description of what was launched.
On failure, returns a dict with a single error key describing
what went wrong (not a GUI app, invalid syntax, command not found).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes |