aboutsummaryrefslogtreecommitdiffstats
path: root/src/command
diff options
context:
space:
mode:
Diffstat (limited to 'src/command')
-rw-r--r--src/command/async_process.rs1
-rw-r--r--src/command/std.rs1
-rw-r--r--src/command/tokio.rs1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/command/async_process.rs b/src/command/async_process.rs
index 4c453e6..4248402 100644
--- a/src/command/async_process.rs
+++ b/src/command/async_process.rs
@@ -3,6 +3,7 @@ use std::os::unix::io::FromRawFd as _;
impl super::CommandImpl for async_process::Command {
type Child = async_process::Child;
+ type Pty = crate::pty::async_io::Pty;
fn std_fds(
&mut self,
diff --git a/src/command/std.rs b/src/command/std.rs
index 3287834..f1c5418 100644
--- a/src/command/std.rs
+++ b/src/command/std.rs
@@ -3,6 +3,7 @@ use std::os::unix::process::CommandExt as _;
impl super::CommandImpl for std::process::Command {
type Child = std::process::Child;
+ type Pty = crate::pty::std::Pty;
fn std_fds(
&mut self,
diff --git a/src/command/tokio.rs b/src/command/tokio.rs
index 60dfb56..67baf74 100644
--- a/src/command/tokio.rs
+++ b/src/command/tokio.rs
@@ -2,6 +2,7 @@ use std::os::unix::io::FromRawFd as _;
impl super::CommandImpl for tokio::process::Command {
type Child = tokio::process::Child;
+ type Pty = crate::pty::tokio::Pty;
fn std_fds(
&mut self,