forked from clan/clan-core
task_manager.py: fix index out of range bug
This commit is contained in:
parent
14c4b99891
commit
2395119d21
@ -71,10 +71,10 @@ class Command:
|
||||
try:
|
||||
for line in fd:
|
||||
if fd == self.p.stderr:
|
||||
self.log.debug(f"[{cmd[0]}] stderr: {line}")
|
||||
self.log.debug(f"[{cmd}] stderr: {line}")
|
||||
self.stderr.append(line)
|
||||
else:
|
||||
self.log.debug(f"[{cmd[0]}] stdout: {line}")
|
||||
self.log.debug(f"[{cmd}] stdout: {line}")
|
||||
self.stdout.append(line)
|
||||
self._output.put(line)
|
||||
except BlockingIOError:
|
||||
|
Loading…
Reference in New Issue
Block a user