forked from extern/nushell
Another attempt to fix the zombie processes
This commit is contained in:
parent
9e17b937c3
commit
7d46f9e860
@ -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