Pass actions via STDIN instead of command line argument

What does the merge request do?

Fix #482 (closed) by switching to shell mode for large action strings.

The stdout is postprocessed to hide the switch to the extension author. This postprocessing seems to work on Windows and Linux.

Summary for release notes

Fixed an issue where calling Inkscape with a long --actions parameter resulted in a crash on Windows.

Checklist

  • Add unit tests (if applicable)
  • Changes to inkex/ are well documented
  • Clean merge request history
Edited by Jonathan Neuhauser

Merge request reports

Loading