(name: &str, pid: i64)
| 27 | /// Create a new process with name and PID. |
| 28 | #[must_use] |
| 29 | pub fn new(name: &str, pid: i64) -> Self { |
| 30 | Self { |
| 31 | name: name.to_string(), |
| 32 | pid, |
| 33 | cmd_line: None, |
| 34 | parent_process: None, |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | /// Set the command line. |
| 39 | #[must_use] |
nothing calls this directly
no outgoing calls
no test coverage detected