1
0
mirror of https://github.com/ARM-software/devlib.git synced 2024-10-06 10:50:51 +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:
setrofim 2017-06-05 13:24:19 +01:00 committed by GitHub
commit 2e106c9f70

View File

@ -82,7 +82,7 @@ class EnergyProbeInstrument(Instrument):
'Energy Probe: Caiman exited unexpectedly with exit code {}.\n'
'stdout:\n{}\nstderr:\n{}'.format(self.process.returncode,
stdout, stderr))
os.killpg(self.process.pid, signal.SIGTERM)
os.killpg(self.process.pid, signal.SIGINT)
def get_data(self, outfile): # pylint: disable=R0914
all_channels = [c.label for c in self.list_channels()]