()
| 10 | } |
| 11 | |
| 12 | pub fn shutdown() -> anyhow::Result<()> { |
| 13 | let _ = Command::new("xcrun") |
| 14 | .args(["simctl", "shutdown", "all"]) |
| 15 | .output(); |
| 16 | stop_service()?; |
| 17 | print_status("shutdown"); |
| 18 | Ok(()) |
| 19 | } |
| 20 | |
| 21 | pub fn restart() -> anyhow::Result<()> { |
| 22 | let _ = Command::new("xcrun") |
no test coverage detected