[inx] <command reldir="path">somecommand -with -arguments</command> fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Triaged
|
Low
|
Unassigned |
Bug Description
Commands with parameters fail when being called directly from an 'inx'-file.
error message:
Can't Spawn!!! spawn returns: 8
when quitting the application - occurs in 'src/extension/
<http://
inx commands that are known to fail:
ai_output.inx: <command reldir="path">gs -q -dNODISPLAY -dSAFER ps2ai.ps</command>
svgz_input.inx: <command reldir="path">gzip -cd</command>
svgz_output.inx: <command reldir="path">gzip -c</command>
(all three extensions have recently been removed from SVN trunk)
I could not figure out (searched in launchpad and inkscape-devel archives) if this was an intended change or a unintended consequence of a patch to handle spaces in the path for extensions on win32 (see bug #187290).
related bug:
Bug #167472 “save as dialogue, duplicate 'Compressed Inkscape SVG' entry”
possibly related bug:
Bug #187290 “[Win32] Extensions not working on Windows with rel 0.46-pre0 ”
Confirmed with recent SVN builds on OS X 10.5 ,XP and Ubuntu (in bug #167472)
tags: | added: extensions-plugins |
Changed in inkscape: | |
importance: | Undecided → Low |
status: | New → Triaged |
The problem here is since we switched to the spawn interface in glib we're no longer passing the command through a shell. We need to parse the command for spaces and add them in the argument list.