remove last STDOUT line in Python
I am trying to figure out how to suppress the display of user input on stdout.
I am trying to figure out how to suppress the display of user input on stdout.
I want to run a command which prompts me to enter yes/no or y/n or whatever. If I just run the command local("my_command") then it stops and asks me for input. When I type what is needed, script continues to work. How can I automatically respond to the prompt?