Win10: Command line mode leads to garbage characters when typing on the keyboard

Hi,

first thanks a lot for this great software!

What happened

We use inkscape in command line mode to process a lot of svg files, called from Python with os.system or similar. Now something weird was happening: when running this "batch job" (i.e., calling inkscape in command line mode over and over again), I can not continue working on my Windows 10 machine, because when I type something on the keyboard, garbage characters will occur. Example: I want to type "llllllll" but I get something like "ll^llll^llll". It seems that mostly ` and ^ are inserted. As soon as I kill the batch job, typing on the keyboard works again.

Versions

  • inkscape: 1.0.2 (e86c870879, 2021-01-15, custom)
  • OS: Win10 (tested on both home and professionell edition, that means on two different computers), while on Linux (third computer) I can't reprocude this issue

How to reproduce

Put something like this into a batch file and run it. Then, open notepad and keep typing "l" on the keyboard. At some point, you should also see other characters like "^".

:main
"C:\path\to\inkscape.exe" --help
goto main