Redirecting subprocess stdout Redirecting subprocess stdout tkinter tkinter

Redirecting subprocess stdout


You could try this so see if you get the "Output2"

task = subprocess.Popen(["python", "test2.py"], stdout=subprocess.PIPE)print task.communicate()

If you do, send it to the textbox :)