print wget exit status

This commit is contained in:
Quaternions 2023-09-22 14:23:29 -07:00
parent 9904b7a044
commit 19a455ee5e

View File

@ -189,8 +189,9 @@ fn download(map_list: Vec<u64>) -> 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(())
}