crosspad_run
Run the built simulator binary in the background, returning its process ID and executable path. Prevents duplicate instances unless force is enabled; requires building first.
Instructions
[PC] Launch the built simulator binary in the background. Returns pid + exe_path. Refuses to spawn a duplicate if one is already responding on the TCP control port (use force=true to override). Fails if binary not built — call crosspad_build first. Currently PC-only (IDF firmware doesn't run on the host).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Spawn another instance even if one is already running. Default: false. | |
| platform | No | Platform — currently only 'pc' is supported here. | pc |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | ||
| error | No | ||
| success | Yes | ||
| exe_path | Yes | ||
| responsive | No | ||
| already_running | No |