On Sun, 26 Aug 2018 at 12:16, David Bolen <db3l....@gmail.com> wrote: > I'm not sure if there's any better way for Python to detect a remote > shell as being interactive under Windows that would cover such cases. > Perhaps some of the newer pty changes I read Microsoft is making might > help, assuming it flows through to the isatty() test.
Based on https://blogs.msdn.microsoft.com/commandline/2018/08/02/windows-command-line-introducing-the-windows-pseudo-console-conpty/, that seems plausible to me, since they're adding a true pseudo-tty system, and mostly modeling it's behaviour on the *nix one. Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com