1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-28 23:49:47 +01:00

Revert "riotctrl_ctrl: one more indirection to get native"

This reverts commit 5e0c9b4bff.
This commit is contained in:
Benjamin Valentin 2024-01-19 12:59:14 +01:00
parent 7658e01223
commit d0093cf9cc
2 changed files with 2 additions and 4 deletions

View File

@ -27,6 +27,5 @@ class NativeRIOTCtrl(riotctrl.ctrl.RIOTCtrl):
def start_term(self, *args, **kwargs):
super().start_term(*args, **kwargs)
for child in psutil.Process(pid=self._term_pid()).children():
for grandchild in child.children():
if self._set_debug_adapter_id(grandchild):
break
if self._set_debug_adapter_id(child):
break

View File

@ -1,3 +1,2 @@
psutil
pyserial
riotctrl