diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2020-01-24 23:39:21 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2020-01-24 23:39:21 +0000 |
commit | d70fd80ad10e64acf2c92a9191f22b78b8e0264c (patch) | |
tree | 77c5150739362760c43c943fe43a8613d10a4fcf | |
parent | 2cebc4f89e653781695d589d71180f195e5fb6ba (diff) | |
download | fetchmail-d70fd80ad10e64acf2c92a9191f22b78b8e0264c.tar.gz fetchmail-d70fd80ad10e64acf2c92a9191f22b78b8e0264c.tar.bz2 fetchmail-d70fd80ad10e64acf2c92a9191f22b78b8e0264c.zip |
fetchmailconf: Update RunWindow() line-wise.
-rwxr-xr-x | fetchmailconf.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fetchmailconf.py b/fetchmailconf.py index 2573075c..d2dadf70 100755 --- a/fetchmailconf.py +++ b/fetchmailconf.py @@ -1955,10 +1955,11 @@ class RunWindow(Frame): os.environ["PATH"] = os.path.dirname(sys.argv[0]) + ":" + os.environ["PATH"] child_stdout = os.popen(command + " 2>&1 </dev/null", "r") while 1: - ch = child_stdout.read(1) + ch = child_stdout.readline() if not ch: break self.textwidget.insert(END, ch) + self.update() self.textwidget.insert(END, "Done.") self.textwidget.see(END) |