GUI does not close after operation with option --batch-process in combination with piped input

Summary:

I try to batch processing some files and found out that if the -p option is set the GUI is not closed after processing. The pipe option is being used to easyly be able to change the content of a text-object. Within the actions I process the text to a path which then is been exported for usage in a laser engraver.

Steps to reproduce:

  • do not open Inkscape
  • open power shell
  • pipe the output of a svg to inkscape cat some.svg | & inkscape --pipe --with-gui --batch-process --actions="export-filename:other.svg;export-do;"

What happened?

Inkscape did not close after processing.

What should have happened?

because of the argument --batch-process I expect Inkscape to close after finishing the actions.

Version Info:

- Inkscape Version: 1.0
- Operating System: Windows
- Operating System version: 1909
Edited by Nathan Lee