Fix for windows (unmarked unix-only import)

This commit is contained in:
Félix Saparelli 2021-10-17 03:48:32 +13:00
parent 0b60f5edb5
commit 43353fecb2
No known key found for this signature in database
GPG key ID: B948C4BAE44FC474

View file

@ -1,6 +1,6 @@
use std::process::ExitStatus;
use command_group::{AsyncGroupChild, Signal};
use command_group::AsyncGroupChild;
use tokio::process::Child;
use tracing::{debug, trace};
@ -34,7 +34,7 @@ impl Process {
///
/// Does nothing if the process is not running.
#[cfg(unix)]
pub fn signal(&mut self, sig: Signal) -> Result<(), RuntimeError> {
pub fn signal(&mut self, sig: command_group::Signal) -> Result<(), RuntimeError> {
use command_group::UnixChildExt;
match self {