mirror of
https://github.com/watchexec/watchexec.git
synced 2024-09-29 22:51:33 +02:00
Wait for child process, not any child process in group
This commit is contained in:
parent
271ef84192
commit
e4557e462b
@ -69,7 +69,7 @@ mod imp {
|
|||||||
pub fn wait(&self) {
|
pub fn wait(&self) {
|
||||||
use nix::sys::wait::waitpid;
|
use nix::sys::wait::waitpid;
|
||||||
|
|
||||||
let _ = waitpid(-self.pid, None);
|
let _ = waitpid(self.pid, None);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user