mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 02:00:45 +00:00
connection: Use -- in kill command
Separate options and PGIDS with -- in kill commands as otherwise, kill seems to be confused.
This commit is contained in:
parent
bdb04aa8d0
commit
2b38548463
@ -36,7 +36,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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user