diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2017-04-07 09:18:04 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2017-04-07 09:26:35 +0200 |
| commit | 30fad8d78135e72cf671d1b01ee1b1c6643ff21c (patch) | |
| tree | 64b629ff5a03c107980f983d2fe3e3b0fc4736e8 /src/process/mod.rs | |
| parent | 5701c32ba8ff9ab7fbc2712d813287c812bc5aef (diff) | |
| download | mullvadvpn-30fad8d78135e72cf671d1b01ee1b1c6643ff21c.tar.xz mullvadvpn-30fad8d78135e72cf671d1b01ee1b1c6643ff21c.zip | |
Move talpid_core from root to member
Diffstat (limited to 'src/process/mod.rs')
| -rw-r--r-- | src/process/mod.rs | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/process/mod.rs b/src/process/mod.rs deleted file mode 100644 index 3259f90524..0000000000 --- a/src/process/mod.rs +++ /dev/null @@ -1,31 +0,0 @@ -use std::io; - -use std::process::{ChildStderr, ChildStdout}; - -/// A module for monitoring child processes and get notified of events on them. -pub mod monitor; -use self::monitor::MonitoredChild; - -/// A module for all OpenVPN related process management. -pub mod openvpn; - -use clonablechild::ClonableChild; - - -impl MonitoredChild for ClonableChild { - fn wait(&self) -> io::Result<bool> { - ClonableChild::wait(self).map(|exit_status| exit_status.success()) - } - - fn kill(&self) -> io::Result<()> { - ClonableChild::kill(self) - } - - fn stdout(&mut self) -> Option<ChildStdout> { - self.stdout() - } - - fn stderr(&mut self) -> Option<ChildStderr> { - self.stderr() - } -} |
