pub fn supervise(opts: SuperviseOpts<'_>) -> Result<()>Expand description
Internal supervisor sub-command.
Runs the target command, streams stdout/stderr to individual log files
(stdout.log, stderr.log) and to the combined full.log, then
updates state.json when the process finishes.
On Windows, the child process is assigned to a named Job Object so that
the entire process tree can be terminated with a single kill call.
The Job Object name is recorded in state.json as windows_job_name.