Skip to content

terminals do not work on windows for gdbgui 0.14+ #348

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
cs01 opened this issue Aug 23, 2020 · 3 comments
Open

terminals do not work on windows for gdbgui 0.14+ #348

cs01 opened this issue Aug 23, 2020 · 3 comments

Comments

@cs01
Copy link
Owner

cs01 commented Aug 23, 2020

Describe the bug
Python does not support pseudoterminals (for example, import pty on windows fails) on windows.

As of gdbgui v0.14, pty's are used in the backend, and thus cannot support windows in newer versions with pty's until either

  • Python supports ptys on windows (or a 3rd party package is found that does)
  • the gdbgui backend is rewritten in node or rust (not planned)

To Reproduce
Steps to reproduce the behavior:

  1. Run gdbgui v0.14+ on windows
  2. Observe error

Expected behavior
gdbgui runs normally

Workaround
Run on Unix or use gdbgui version 0.13.x or lower.

@cs01
Copy link
Owner Author

cs01 commented Aug 29, 2020

Created issue in CPython issue tracker https://bugs.python.org/issue41663

@cs01
Copy link
Owner Author

cs01 commented Sep 5, 2021

This might work with https://pypi.org/project/pywinpty/. Need to investigate.

@cs01
Copy link
Owner Author

cs01 commented Sep 5, 2021

Another potentially useful project https://pypi.org/project/yawinpty/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant