[Python-Dev] Python REPL doesn't work on Windows over remote powershell session (winrm)
ncoghlan at gmail.com
Wed Sep 5 10:22:43 EDT 2018
On Sun, 26 Aug 2018 at 12:16, David Bolen <db3l.net at 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.
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-Dev