Chilledheart / yass

lightweight and efficient, socks/http forward proxy. privoxy is not required. pure native, written in c++ and rust.
https://letshack.info/2024/01/22/iOS-VPN-Service/
GNU General Public License v2.0
98 stars 8 forks source link

windows: attach parent's console if current is unavailable #971

Closed Chilledheart closed 1 month ago

Chilledheart commented 1 month ago

msys2/cygwin use named pipe for console redirection see https://github.com/msys2/msys2-runtime. We can use it to detect msys2/cygwin environment where we shouldn't attach parent's console.