diff options
-rw-r--r-- | meta/lib/oeqa/utils/commands.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa/utils/commands.py index 0d9cf23fe4..01add68689 100644 --- a/meta/lib/oeqa/utils/commands.py +++ b/meta/lib/oeqa/utils/commands.py | |||
@@ -146,6 +146,9 @@ class Command(object): | |||
146 | # At this point we know that the process has closed stdout/stderr, so | 146 | # At this point we know that the process has closed stdout/stderr, so |
147 | # it is safe and necessary to wait for the actual process completion. | 147 | # it is safe and necessary to wait for the actual process completion. |
148 | self.status = self.process.wait() | 148 | self.status = self.process.wait() |
149 | self.process.stdout.close() | ||
150 | if self.process.stderr: | ||
151 | self.process.stderr.close() | ||
149 | 152 | ||
150 | self.log.debug("Command '%s' returned %d as exit code." % (self.cmd, self.status)) | 153 | self.log.debug("Command '%s' returned %d as exit code." % (self.cmd, self.status)) |
151 | # logging the complete output is insane | 154 | # logging the complete output is insane |