forked from StrafesNET/map-tool
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()
|
.spawn()
|
||||||
}).collect();
|
}).collect();
|
||||||
//naively wait for all because idk how to make an async progress bar lmao
|
//naively wait for all because idk how to make an async progress bar lmao
|
||||||
for mut child in processes_result?{
|
for child in processes_result?{
|
||||||
child.wait()?;
|
let output=child.wait_with_output()?;
|
||||||
|
println!("map exit_success:{}",output.status.success());
|
||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user