Another attempt to fix the zombie processes

This commit is contained in:
Jonathan Turner
2019-09-02 04:45:30 +12:00
parent 9e17b937c3
commit 7d46f9e860
2 changed files with 4 additions and 0 deletions

View File

@ -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
}