(&self, pid: u32)
| 69 | /// Send SIGTERM to the server process |
| 70 | #[cfg(unix)] |
| 71 | pub fn send_sigterm(&self, pid: u32) -> bool { |
| 72 | unsafe { libc::kill(pid as i32, libc::SIGTERM) == 0 } |
| 73 | } |
| 74 | |
| 75 | #[cfg(unix)] |
| 76 | fn is_process_alive(&self, pid: u32) -> bool { |