Skip to content

native: Exiting pyterm does not terminate the native process any more #21307

@OlegHahm

Description

@OlegHahm

Description

Since #20172 native is spawned via pyterm. In previous versions pyterm used to terminate the native process upon closing pyterm. Since #19002 is merged that is not the case any more (identified via a git bisect).

Steps to reproduce the issue

Run an arbitrary RIOT application on native, close pyterm and check if the process is gone, e.g., via

make -C examples/basic/default/ clean all term
...
/home/oleg/git/RIOT/dist/tools/pyterm/pyterm -ps /home/oleg/git/RIOT/examples/basic/default/bin/native/default.elf --process-args tap0 
Welcome to pyterm!
...
/exit
...
 pgrep -c default.elf

Expected results

0

Actual results

3

Metadata

Metadata

Labels

Platform: nativePlatform: This PR/issue effects the native platformType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions