(args: &[&str])
| 835 | } |
| 836 | |
| 837 | fn run_launchctl(args: &[&str]) -> Result<std::process::Output> { |
| 838 | let output = launchctl_spawn(args)?; |
| 839 | if output.status.success() { |
| 840 | return Ok(output); |
| 841 | } |
| 842 | Err(launchctl_failure(args, &output)) |
| 843 | } |
| 844 | |
| 845 | fn run_launchctl_allow_not_loaded(args: &[&str]) -> Result<()> { |
| 846 | let output = launchctl_spawn(args)?; |
no test coverage detected