consider wait() calls in nested bodies
This commit is contained in:
parent
db1bda3df1
commit
f06a46ee4d
2 changed files with 14 additions and 0 deletions
|
|
@ -131,6 +131,13 @@ fn main() {
|
|||
}
|
||||
x.wait().unwrap();
|
||||
}
|
||||
|
||||
{
|
||||
let mut x = Command::new("").spawn().unwrap();
|
||||
std::thread::spawn(move || {
|
||||
x.wait().unwrap();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
fn process_child(c: Child) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue