1

So typically my code would run like this:

child = Popen(command, stdout=PIPE, stdin=PIPE, shell=True, bufsize=0, universal_newlines = True)

The problem in my case is that I'm on Windows and the program I'm running doesn't use stdin, it uses some variation of a curses library it seems. Like it reads directly tty.

Is there a way to be able to pipe to this kind of input?

jfs
  • 399,953
  • 195
  • 994
  • 1,670
themuffinman
  • 41
  • 1
  • 3

0 Answers0