diff options
author | André Draszik <git@andred.net> | 2020-02-03 17:28:13 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-04 15:56:29 +0000 |
commit | 3bfe8cad8364ac89dfaf9bacad4a318f70ab19cc (patch) | |
tree | b14c860fe87b881db6d8c87a3bd21385e226a507 /meta/classes | |
parent | e4893d48300ea6a3e172e046f83f3d4c54e95786 (diff) | |
download | poky-3bfe8cad8364ac89dfaf9bacad4a318f70ab19cc.tar.gz |
rt-tests: modernise subprocess: preexec_fn=os.setsid -> start_new_session=True
start_new_session was added to python3 subprocess in v3.2 and
is meant to take the place of the common use of preexec_fn to
call os.setsid() in the child - as done here.
Update to use the new equivalent.
(From OE-Core rev: 0ebb56ff192e9c6db2af83c37db3307a27fe822a)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
0 files changed, 0 insertions, 0 deletions