summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/git
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2023-01-30 23:11:25 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-02-01 14:05:15 +0000
commit7388cb224e3dd245e5269b4037fce1a5da940455 (patch)
treea5f7f2fb553466cca88617b7df0f0146fe777bf7 /meta/recipes-devtools/git
parentda95831d91b1265ecaee5bbfaeb1caaa2c290838 (diff)
downloadpoky-7388cb224e3dd245e5269b4037fce1a5da940455.tar.gz
oeqa/qemurunner: do not use Popen.poll() when terminating runqemu with a signal
This does not actually guarantee that the child runqemu process has completely exited: poll() may return prematurely while the SIGTERM handler in runqemu is still running. This thwarts the rest of the processing, and may terminate the handler before it completes. Use Popen.communicate() instead: this is what python documentation recommends as well: https://docs.python.org/3/library/subprocess.html#subprocess.Popen.communicate (From OE-Core rev: cd3e55606c427287f37585c5d7cde936471e52f4) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/git')
0 files changed, 0 insertions, 0 deletions