pub fn start_job(state: &Arc<AppState>, cmd: Vec<String>) -> u64
_execute_cmd(cmd): start cmd in the workspace and register a job whose stdout and stderr lines stream to /jobs/{id}/stream. Returns the job id.
_execute_cmd(cmd)
cmd
/jobs/{id}/stream