diff options
-rw-r--r-- | meta/lib/oeqa/utils/commands.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa/utils/commands.py index df373c4169..f7f8c16bf0 100644 --- a/meta/lib/oeqa/utils/commands.py +++ b/meta/lib/oeqa/utils/commands.py | |||
@@ -95,7 +95,9 @@ class Command(object): | |||
95 | # reason, the main process will still exit, which will then | 95 | # reason, the main process will still exit, which will then |
96 | # kill the write thread. | 96 | # kill the write thread. |
97 | if self.data: | 97 | if self.data: |
98 | threading.Thread(target=writeThread, daemon=True).start() | 98 | thread = threading.Thread(target=writeThread, daemon=True) |
99 | thread.start() | ||
100 | self.threads.append(thread) | ||
99 | if self.process.stderr: | 101 | if self.process.stderr: |
100 | thread = threading.Thread(target=readStderrThread) | 102 | thread = threading.Thread(target=readStderrThread) |
101 | thread.start() | 103 | thread.start() |