[Python] subprocess.Popen making wsl2 terminal inputs invisible

Discussão em 'Python' iniciado por Stack, Junho 7, 2025.

  1. Stack

    Stack Membro Participativo

    In my wsl2 terminal, I am running a python script that creates multiple subprocesses with Popen(). The command I am passing in executes a makefile in a docker container. When the script works, but there is an issue after. When I try to type a command, I see no output in the terminal, but I can still execute the command. I believe this is some new line issue, but I am not sure how to fix it. I tried making text=True in the Popen args but no luck. What can I do to fix this?

    Continue reading...

Compartilhe esta Página