Merge pull request #559 from jonathandturner/zombie_killing

Another attempt to fix the zombie processes
This commit is contained in:
Jonathan Turner 2019-09-02 05:22:01 +12:00 committed by GitHub
commit 2d8b558ac0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
}

View File

@ -207,6 +207,8 @@ pub fn filter_plugin(
}
};
let _ = child.wait();
result
}
_ => {