pub struct SuperviseOpts<'a> {Show 14 fields
pub job_id: &'a str,
pub root: &'a Path,
pub command: &'a [String],
pub full_log: Option<&'a str>,
pub timeout_ms: u64,
pub kill_after_ms: u64,
pub cwd: Option<&'a str>,
pub env_vars: Vec<String>,
pub env_files: Vec<String>,
pub inherit_env: bool,
pub progress_every_ms: u64,
pub notify_command: Option<String>,
pub notify_file: Option<String>,
pub shell_wrapper: Vec<String>,
}Expand description
Options for the _supervise internal sub-command.
Masking is the responsibility of run (which writes masked values to meta.json
and includes them in the JSON response). The supervisor only needs the real
environment variable values to launch the child process correctly.
Fields§
§job_id: &'a str§root: &'a Path§command: &'a [String]§full_log: Option<&'a str>Override full.log path; None = use job dir default.
timeout_ms: u64Timeout in milliseconds; 0 = no timeout.
kill_after_ms: u64Milliseconds after SIGTERM before SIGKILL; 0 = immediate SIGKILL.
cwd: Option<&'a str>Working directory for the child process.
env_vars: Vec<String>Environment variables as KEY=VALUE strings (real values, not masked).
env_files: Vec<String>Paths to env files, applied in order.
inherit_env: boolWhether to inherit the current process environment.
progress_every_ms: u64Interval (ms) for state.json updated_at refresh; 0 = disabled.
notify_command: Option<String>Shell command string for command notification sink; executed via platform shell. None = no command sink.
notify_file: Option<String>File path for NDJSON notification sink; None = no file sink.
shell_wrapper: Vec<String>Resolved shell wrapper argv used to execute command strings.