Is there any way to get a QTextBrowser to append lines read from stdout in real time? Example (doesn't work) Code: proc = subprocess.Popen('/home/user/test.sh', shell=True, stdout=subprocess.PIPE, ) for line in iter(proc.stdout.readline,''): self.displaybox.append(line) print line
proc = subprocess.Popen('/home/user/test.sh', shell=True, stdout=subprocess.PIPE, ) for line in iter(proc.stdout.readline,''): self.displaybox.append(line) print line