Skip to content

Commit

Permalink
Merge pull request #10 from nicoulaj/fix-conditional-compilation
Browse files Browse the repository at this point in the history
fix compilation on linux
  • Loading branch information
faokunega authored Nov 5, 2021
2 parents f133b76 + 3a2f544 commit 13435f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/command_executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ where
}
}

#[cfg(any(target_os = "unix", target_os = "macos"))]
#[cfg(not(target_os = "windows"))]
async fn command_execution(&mut self) -> Result<S, E> {
let (sender, receiver) = tokio::sync::mpsc::channel::<LogOutputData>(1000);
let res = self.run_process().await;
Expand Down

0 comments on commit 13435f9

Please sign in to comment.