UserExistsError / conpty

Windows Pseudo Console (ConPTY) for Golang
MIT License
32 stars 12 forks source link

Support use from GUI apps or if stdin/stdout redirected #4

Closed jeffwilliams closed 1 year ago

jeffwilliams commented 1 year ago

This commit adds support for running programs using ConPTY even when the parent program is a Windows GUI application or if the parent program's stdin or stdout is redirected.

The fix implemented here is the one suggested in:

https://github.com/microsoft/terminal/issues/11276

I noticed this when I was trying to use your conpty package from a WIndows GUI application created with gio.

UserExistsError commented 1 year ago

thanks for the contribution!

jeffwilliams commented 1 year ago

No problem, Thanks for making this great package!