Inkscape unresponsive in shell mode when export-filename set to standard out ("export-filename:-")

Steps to reproduce:

  • inkscape --shell (start inkscape in interactive shell mode)
  • file-open:./example.svg;export-type:png;export-filename:-;export-do (enter the following actions and verbs)

The wiki instructions for using the command line document the use of - as the file name to direct output to standard out.

What happened?

The expected export does seem to work and standard out displays the correct PNG bytes. However, the shell is unresponsive after this point. No further interactions are possible without killing the process.

Output:

> file-open:./example.svg;export-type:png;export-filename:-;export-do
Background RRGGBBAA: 50505000
Area 0:0:100:100 exported to 100 x 100 pixels (96 dpi)
�PNG...

What should have happened?

I would expect the shell to remain responsive and accept further actions.

Inkscape Version and Operating System:

Inkscape 1.1.1 (inkscape@3bf5ae0d, 2021-09-20)