dosbox_launch
Start a DOSBox-X instance from a config file and attach to it, returning a process ID once the guest is confirmed drivable. Handles intro screens via autotype and supports isolated headless launching.
Instructions
Start DOSBox-X with a config file and attach to it. Returns the process id every other tool takes. The config's [autoexec] section decides what runs; an AUTOTYPE line there is the reliable way past intro screens. Waits until the guest is findable, so a successful call means it is really up and drivable. On Linux, isolated=true puts the emulator on its own Xvfb display -- entirely off the user's desktop, and the only way the emulator's own keyboard shortcuts can be used without taking a keystroke from whatever the user is doing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | Path to the DOSBox-X .conf file. | |
| profile | No | Profile name or path. | |
| isolated | No | Linux only: run on a private Xvfb display. | |
| executable | No | dosbox-x.exe to run; defaults to DOSBOX_MCP_EXECUTABLE. | |
| wait_seconds | No | How long to wait for the guest. | |
| working_directory | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||