shell_exec
Run commands in a Windows 98 VM and capture ordered stdout and stderr output. If an error occurs, receive a screenshot to diagnose issues, then unlock the VM when done.
Instructions
Run a command to completion with captured ordered stdout+stderr output; error results may include a screenshot. VM remains locked by this session; call vm_unlock when finished.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| command | Yes | ||
| vm_name | Yes | Unique VM name configured in WIN98CTL.INI. | |
| timeout_ms | No | ||
| screenshot_on_error | No |