also replace before_exec by pre_exec on redox

This commit is contained in:
Ralf Jung
2019-02-01 19:57:06 +01:00
parent 6bfb280189
commit d48433d920
3 changed files with 27 additions and 7 deletions

View File

@@ -36,7 +36,7 @@ pub trait CommandExt {
/// will be called and the spawn operation will immediately return with a
/// failure.
///
/// # Notes
/// # Notes and Safety
///
/// This closure will be run in the context of the child process after a
/// `fork`. This primarily means that any modifications made to memory on