print wget exit status
This commit is contained in:
parent
9904b7a044
commit
19a455ee5e
@ -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(())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user