(args: &[&str])
| 814 | } |
| 815 | |
| 816 | fn launchctl_spawn(args: &[&str]) -> Result<std::process::Output> { |
| 817 | Command::new("launchctl") |
| 818 | .args(args) |
| 819 | .output() |
| 820 | .map_err(|e| TraceDecayError::Config { |
| 821 | message: format!("failed to run launchctl {}: {e}", args.join(" ")), |
| 822 | }) |
| 823 | } |
| 824 | |
| 825 | fn launchctl_failure(args: &[&str], output: &std::process::Output) -> TraceDecayError { |
| 826 | TraceDecayError::Config { |
no test coverage detected