[PR Feedback] Remove Signal usage from Windows module
It wasn't used.
Also consolidated the `use` statements.
// See the License for the specific language governing permissions and
// limitations under the License.
+use crate::error::{Error,
+ Result};
use std::{ffi::OsString,
io,
path::PathBuf,
process::{self,
Command},
ptr};
-
use winapi::{shared::minwindef::{DWORD,
FALSE,
LPDWORD},
@@ -28,10 +29,6 @@ use winapi::{shared::minwindef::{DWORD,
PROCESS_QUERY_LIMITED_INFORMATION,
PROCESS_TERMINATE}}};
-use super::Signal;
-use crate::error::{Error,
- Result};
-
const STILL_ACTIVE: u32 = 259;
pub type Pid = DWORD;
