skip to Main Content

Using subprocess.Popen messing Ubuntu terminal output

Using subprocess.Popen messing Ubuntu terminal output import subprocess import time subprocess.Popen("sudo ./agt_internal", shell=True, cwd="/home/boblittle/AGT/") time.sleep(10) for i in range(10): print('Good Morning America') The terminal output is messed up. Any suggestions? def start_agt_pmlog(): command = 'sudo ./agt_internal -unilog=PM' args = shlex.split(command)…

VIEW QUESTION
Back To Top
Search