Python subprocess output to stdout

Simply don’t send the output to a pipe:

proc = subprocess.Popen (command_args, shell=False)
proc.communicate()

Leave a Comment