mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 16:33:37 +01:00
Merge pull request #559 from jonathandturner/zombie_killing
Another attempt to fix the zombie processes
This commit is contained in:
commit
2d8b558ac0
@ -93,6 +93,8 @@ fn load_plugin(path: &std::path::Path, context: &mut Context) -> Result<(), Shel
|
||||
Err(e) => Err(ShellError::string(format!("Error: {:?}", e))),
|
||||
};
|
||||
|
||||
let _ = child.wait();
|
||||
|
||||
result
|
||||
}
|
||||
|
||||
|
@ -207,6 +207,8 @@ pub fn filter_plugin(
|
||||
}
|
||||
};
|
||||
|
||||
let _ = child.wait();
|
||||
|
||||
result
|
||||
}
|
||||
_ => {
|
||||
|
Loading…
Reference in New Issue
Block a user