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?

    anuraj ARTIQ frontend commands should be interruptible with CTRL+C in MSYS2. Could you clarify which specific program you're trying to interrupt?

    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.

    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 previously opened an issue in MSYS2 regarding mintty pty problems here. For now, the winpty workaround can be a useful temporary solution.

    I recall this working before so this looks like a MSYS2 regression.

    It also didn't need MSYS=enable_pcon or anything else.