I am using ARTIQ-8 with MSYS2. When I'm trying to interrupt a program with keyboard interruption (e.g. CTRL+C or CTRL-Z) the program does not get interrupted until the very end. Is there any solution for this?
Keyboard interrupt
- Edited
Currently I am running an python script using artiq_run command in MSYS2. The script runs an experiment with DDS's, TTLs, DACs. It runs in a loop which runs 1000 times. I have tried CTRL+C but it does not work. Previously CTRL+C used to work with Artiq-6 with Ananconda. But it does not work ever since we switched to MSYS2.
- Edited
This seems to be a known MSYS2/mintty issue, see "Standard streams in mintty" here. Apparently prefixing the command with winpty
should fix the problem.
I recall this working before so this looks like a MSYS2 regression.
It also didn't need MSYS=enable_pcon
or anything else.