diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2017-01-10 10:20:17 +0100 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2017-01-10 10:20:17 +0100 |
| commit | cbdb4cc03b2558cdf055b1ed19a3e90314bfdbb3 (patch) | |
| tree | f5c6a3b56e34fb07b90b518c54b0a9ff2f4602d3 | |
| parent | 792230e78e75c58f7c3ddfe8ad389625bdceea2c (diff) | |
| download | mullvadvpn-cbdb4cc03b2558cdf055b1ed19a3e90314bfdbb3.tar.xz mullvadvpn-cbdb4cc03b2558cdf055b1ed19a3e90314bfdbb3.zip | |
Move needed imports
| -rw-r--r-- | src/process/mod.rs | 6 | ||||
| -rw-r--r-- | src/process/monitor.rs | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/process/mod.rs b/src/process/mod.rs index d3aad8018a..aa298ce465 100644 --- a/src/process/mod.rs +++ b/src/process/mod.rs @@ -4,11 +4,15 @@ use std::ffi::{OsString, OsStr}; use std::fmt; use std::io; use std::path::{Path, PathBuf}; -use std::process::{Command, Child, Stdio}; +use std::process::{Command, Child, Stdio, ChildStdout, ChildStderr}; /// A module for monitoring child processes and get notified of events on them. pub mod monitor; +use clonablechild::{ClonableChild, ChildExt}; + +use self::monitor::{MonitoredChild, ChildSpawner}; + /// An OpenVPN process builder, providing control over the different arguments that the OpenVPN /// binary accepts. pub struct OpenVpnBuilder { diff --git a/src/process/monitor.rs b/src/process/monitor.rs index 2f435dda80..9e5f2e21fa 100644 --- a/src/process/monitor.rs +++ b/src/process/monitor.rs @@ -1,7 +1,3 @@ -use clonablechild::{ClonableChild, ChildExt}; - -use process::OpenVpnBuilder; - use std::error::Error; use std::fmt; use std::io; |
