mirror of
https://github.com/ARM-software/devlib.git
synced 2025-02-07 05:30:44 +00: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'
|
||||
'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()]
|
||||
|
Loading…
x
Reference in New Issue
Block a user