On 19/10/2026 21.26, Alex Bennée wrote:
As with gdb_cmd passing a plain string to a subprocess involves making
sure the escaping is correct so the underlying shell doesn't get
confused. Do the same as gdb_cmd and make the whole thing an array.

There are a few minor wrinkles with when args.binary is expected so
add some comments for that.

Suggested-by: Ilya Leoshkevich <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
---
  tests/guest-debug/run-test.py | 31 ++++++++++++++++++-------------
  1 file changed, 18 insertions(+), 13 deletions(-)
Reviewed-by: Thomas Huth <[email protected]>


Reply via email to