1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-01-31 02:00:45 +00:00

connection: update kill command format

The kill applet in the current busybox executable does not support
the `--` syntax therefore remove from the template command.
This commit is contained in:
Marc Bonnici 2023-05-16 17:06:15 -05:00
parent ddaa2f1621
commit 7e2399055b

View File

@ -35,7 +35,7 @@ _KILL_TIMEOUT = 3
def _kill_pgid_cmd(pgid, sig, busybox): def _kill_pgid_cmd(pgid, sig, busybox):
return '{} kill -{} -- -{}'.format(busybox, sig.value, pgid) return '{} kill -{} -{}'.format(busybox, sig.value, pgid)
def _popen_communicate(bg, popen, input, timeout): def _popen_communicate(bg, popen, input, timeout):
try: try: