mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 02:00:45 +00:00
connection/bg_cmd: fix missing use of signal
The signal parameter was being ignored and instead always sending the KILL signal instead.
This commit is contained in:
parent
7e2399055b
commit
e6323fc8bf
@ -170,7 +170,7 @@ class BackgroundCommand(ABC):
|
||||
:type signal: signal.Signals
|
||||
"""
|
||||
try:
|
||||
self._send_signal(signal.SIGKILL)
|
||||
self._send_signal(sig)
|
||||
finally:
|
||||
# Deregister if the command has finished
|
||||
self.poll()
|
||||
|
Loading…
x
Reference in New Issue
Block a user