MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / launchctl_failure

Function launchctl_failure

src/daemon/service.rs:825–835  ·  view source on GitHub ↗
(args: &[&str], output: &std::process::Output)

Source from the content-addressed store, hash-verified

823}
824
825fn launchctl_failure(args: &[&str], output: &std::process::Output) -> TraceDecayError {
826 TraceDecayError::Config {
827 message: format!(
828 "launchctl {} failed with status {}\nstdout:\n{}\nstderr:\n{}",
829 args.join(" "),
830 output.status,
831 String::from_utf8_lossy(&output.stdout),
832 String::from_utf8_lossy(&output.stderr)
833 ),
834 }
835}
836
837fn run_launchctl(args: &[&str]) -> Result<std::process::Output> {
838 let output = launchctl_spawn(args)?;

Callers 2

run_launchctlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected