if the exit code represent program executed normally.
(code: Option<i32>)
| 916 | |
| 917 | /// if the exit code represent program executed normally. |
| 918 | fn is_exit_normally(code: Option<i32>) -> bool { |
| 919 | if let Some(exit_code) = code { |
| 920 | exit_code == 0 |
| 921 | } else { |
| 922 | false |
| 923 | } |
| 924 | } |
| 925 | |
| 926 | pub fn get_child_err(mut err: ChildStderr) -> String { |
| 927 | let mut err_buf = Vec::new(); |
no outgoing calls
no test coverage detected