Skip to main content
Remove incorrect automatic INI syntax highlighting
Source Link
Benjamin Loison
  • 5.8k
  • 4
  • 20
  • 37

None of them worked for me. Python3.11 / Python3.12 Linux/Windows11

I get the stdout first, if the command is finished. For Linux I found:

p=pexpect.spawn(cmd) / p.read_nonblocking()
p=pexpect.spawn(cmd) / p.read_nonblocking()

But unfortunately, this doesn't work for Windows. I'm still searching for a solution for Windows.

None of them worked for me. Python3.11 / Python3.12 Linux/Windows11

I get the stdout first, if the command is finished. For Linux I found:

p=pexpect.spawn(cmd) / p.read_nonblocking()

But unfortunately, this doesn't work for Windows. I'm still searching for a solution for Windows.

None of them worked for me. Python3.11 / Python3.12 Linux/Windows11

I get the stdout first, if the command is finished. For Linux I found:

p=pexpect.spawn(cmd) / p.read_nonblocking()

But unfortunately, this doesn't work for Windows. I'm still searching for a solution for Windows.

Source Link
rundekugel
  • 1.5k
  • 1
  • 16
  • 25

None of them worked for me. Python3.11 / Python3.12 Linux/Windows11

I get the stdout first, if the command is finished. For Linux I found:

p=pexpect.spawn(cmd) / p.read_nonblocking()

But unfortunately, this doesn't work for Windows. I'm still searching for a solution for Windows.