diff --git a/mux/src/tmux_pty.rs b/mux/src/tmux_pty.rs index d9ee78048..78587eb8d 100644 --- a/mux/src/tmux_pty.rs +++ b/mux/src/tmux_pty.rs @@ -78,6 +78,11 @@ impl Child for TmuxPty { fn process_id(&self) -> Option { Some(0) } + + #[cfg(windows)] + fn as_raw_handle(&self) -> Option { + None + } } impl MasterPty for TmuxPty { @@ -112,6 +117,7 @@ impl MasterPty for TmuxPty { })) } + #[cfg(unix)] fn process_group_leader(&self) -> Option { return None; }