mirror of
https://github.com/ARM-software/devlib.git
synced 2025-04-18 07:40:04 +01:00
Merge pull request #130 from Leo-Yan/fix_energy_probe_signal_2
energy_probe: send signal SIGINT to caiman
This commit is contained in:
commit
2e106c9f70
@ -82,7 +82,7 @@ class EnergyProbeInstrument(Instrument):
|
|||||||
'Energy Probe: Caiman exited unexpectedly with exit code {}.\n'
|
'Energy Probe: Caiman exited unexpectedly with exit code {}.\n'
|
||||||
'stdout:\n{}\nstderr:\n{}'.format(self.process.returncode,
|
'stdout:\n{}\nstderr:\n{}'.format(self.process.returncode,
|
||||||
stdout, stderr))
|
stdout, stderr))
|
||||||
os.killpg(self.process.pid, signal.SIGTERM)
|
os.killpg(self.process.pid, signal.SIGINT)
|
||||||
|
|
||||||
def get_data(self, outfile): # pylint: disable=R0914
|
def get_data(self, outfile): # pylint: disable=R0914
|
||||||
all_channels = [c.label for c in self.list_channels()]
|
all_channels = [c.label for c in self.list_channels()]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user