You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't believe this is an issue with our code - the pty functions we provide are really a thin wrapper and don't actually call out to a pty library. As an example, we don't even use TIOCSWINSZ or the other syscalls mentioned in our code (aside from in an example). You pay need to find a different way of handling ptys if your code needs to work on Windows.
Generally, when you're trying to build something in a cross platform way, you will have to avoid the syscall package as they are very platform specific.
Activity
SakiiR commentedon May 27, 2019
I found a way to do it without PTY ...
belak commentedon Jun 12, 2019
I don't believe this is an issue with our code - the pty functions we provide are really a thin wrapper and don't actually call out to a pty library. As an example, we don't even use TIOCSWINSZ or the other syscalls mentioned in our code (aside from in an example). You pay need to find a different way of handling ptys if your code needs to work on Windows.
Generally, when you're trying to build something in a cross platform way, you will have to avoid the syscall package as they are very platform specific.
JustinTimperio commentedon Apr 5, 2021
@SakiiR Did you ever find a solution here? If not hopefully creack/pty#109 may provide some limited Windows support.