(&self, id: &str)
| 79 | } |
| 80 | |
| 81 | pub fn stop(&self, id: &str) -> Result<()> { |
| 82 | let process = self.processes.get(id).context("Process not found")?; |
| 83 | info!("Stopping process {id}"); |
| 84 | process.stop() |
| 85 | } |
| 86 | |
| 87 | pub fn remove(&self, id: &str) -> Result<()> { |
| 88 | let process = self.processes.get(id).context("Process not found")?; |