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

Function launchctl_spawn

src/daemon/service.rs:816–823  ·  view source on GitHub ↗
(args: &[&str])

Source from the content-addressed store, hash-verified

814}
815
816fn 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
825fn launchctl_failure(args: &[&str], output: &std::process::Output) -> TraceDecayError {
826 TraceDecayError::Config {

Callers 2

run_launchctlFunction · 0.85

Calls 1

outputMethod · 0.80

Tested by

no test coverage detected