python-bindings
python-bindings copied to clipboard
Ctrl-C does not interrupt shell during calls to preCICE
I have noticed that, when e.g. inside precice.initialize(), pressing Ctrl+C does not interrupt the program. This I have only observed in Python and it seems to be a common issue with subprocesses / threads in Python.
You can reproduce this problem by running e.g. one one Python solverdummy participant, without starting a second one, and trying to kill it. I will simply ignore the keyboard input.
Some starting points: