So i have this code:
proc = subprocess.Popen("python path/to/program.py" , stdout=subprocess.PIPE)
print proc.stdout.read()
But the program i'm trying to execute requires user input like:
Press Enter to continue...
and
Would you like to do this?
(Y)es/(N)O:
When you try to run program.py in the script above, it can't put in values, and the command aborts.
Is there a way to bypass this?