Skip to content

Undesirable side effects of keyboard interrupt handling implementation

  • Quantify-core version: 0.7.6
  • Quantify-scheduler version (or n/a):
  • Python version: 3.10
  • Python install method (anaconda/virtualenv/other?): venv
  • Operating System: W10 Enterprise 10.0.19045

Description

  1. Executing MeasurementControl.run() outside the main thread -> call to signal.signal raises an exception.
  2. Executing MeasurementControl.run() with my own interrupt handler installed for SIGINT -> after execution of run the default interrupt handler for SIGINT is installed instead of my own.

I will try to come up with an MR.


You can also find us on Slack. For reference, the issues workflow is described in the contribution guidelines.

Edited by Michiel Haye