mirror of
https://github.com/watchexec/watchexec.git
synced 2024-11-13 07:41:11 +01:00
Fix for windows (unmarked unix-only import)
This commit is contained in:
parent
0b60f5edb5
commit
43353fecb2
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue