diff --git a/src/main.rs b/src/main.rs index bcb04fc..d9fc3c2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -189,8 +189,9 @@ fn download(map_list: Vec) -> BoxResult<()>{ .spawn() }).collect(); //naively wait for all because idk how to make an async progress bar lmao - for mut child in processes_result?{ - child.wait()?; + for child in processes_result?{ + let output=child.wait_with_output()?; + println!("map exit_success:{}",output.status.success()); } Ok(()) }