mirror of
https://github.com/nushell/nushell.git
synced 2025-04-01 11:46:20 +02:00
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))),
|
Err(e) => Err(ShellError::string(format!("Error: {:?}", e))),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
let _ = child.wait();
|
||||||
|
|
||||||
result
|
result
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -207,6 +207,8 @@ pub fn filter_plugin(
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
let _ = child.wait();
|
||||||
|
|
||||||
result
|
result
|
||||||
}
|
}
|
||||||
_ => {
|
_ => {
|
||||||
|
Loading…
Reference in New Issue
Block a user