fix windows build
This commit is contained in:
1 parent
1a73a2feaa
commit
071aefc822
1 file changed
+6
@@ -78,6 +78,11 @@ impl Child for TmuxPty {
|
||||
fn process_id(&self) -> Option<u32> {
|
||||
Some(0)
|
||||
}
|
||||
|
||||
#[cfg(windows)]
|
||||
fn as_raw_handle(&self) -> Option<std::os::windows::io::RawHandle> {
|
||||
None
|
||||
}
|
||||
}
|
||||
|
||||
impl MasterPty for TmuxPty {
|
||||
@@ -112,6 +117,7 @@ impl MasterPty for TmuxPty {
|
||||
}))
|
||||
}
|
||||
|
||||
#[cfg(unix)]
|
||||
fn process_group_leader(&self) -> Option<libc::pid_t> {
|
||||
return None;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user