aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/tokio.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-02-23 00:17:01 -0500
committerJesse Luehrs <doy@tozt.net>2021-02-23 00:17:01 -0500
commitf3e8046eff473aa9bf940b7fbd156cf3dfbfa352 (patch)
treea6b3ed53e89556cd801a49a0619ba37e4c397be6 /src/command/tokio.rs
parentacb3681ee251599af194c8555344edc65750ef14 (diff)
downloadpty-process-f3e8046eff473aa9bf940b7fbd156cf3dfbfa352.tar.gz
pty-process-f3e8046eff473aa9bf940b7fbd156cf3dfbfa352.zip
also create separate pty structs per backend
for now, they are identical, but i will change them to be specialized next
Diffstat (limited to 'src/command/tokio.rs')
-rw-r--r--src/command/tokio.rs1
1 files changed, 1 insertions, 0 deletions
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,