Browse Source

wxGUI/gcmd: fix read command stdout (#1228)

(caused an incorrect line break in the e.g. 'GRASS_INFO_PERCENT: 3'
and error during parsing percent value)
Tomas Zigo 4 years ago
parent
commit
b4298a812a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gui/wxpython/core/gcmd.py

+ 1 - 1
gui/wxpython/core/gcmd.py

@@ -297,7 +297,7 @@ class Popen(subprocess.Popen):
                 if not select.select([conn], [], [], 0)[0]:
                     return ''
 
-                r = conn.read(maxsize)
+                r = conn.read()
 
                 if not r:
                     return self._close(which)