task-manager: spam select() without timeout
This commit is contained in:
parent
d0362bb757
commit
ee705c5976
@ -68,7 +68,7 @@ class Command:
|
||||
|
||||
while self.p.poll() is None:
|
||||
# Check if stderr is ready to be read from
|
||||
rlist, _, _ = select.select([self.p.stderr, self.p.stdout], [], [], 0)
|
||||
rlist, _, _ = select.select([self.p.stderr, self.p.stdout], [], [], 1)
|
||||
for fd in rlist:
|
||||
try:
|
||||
for line in fd:
|
||||
|
Loading…
Reference in New Issue
Block a user