--shell on windows crashes due to spaces in inkscape pathname
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Inkscape 0.91 r13725 64 bit
Windows 10 Pro 64bit version 1607 build 14393.222
When inkscape is installed in its default directory (c:\program files (x86)\Inkscape or c:\program files\Inkscape) and executed by full pathname with --shell, shell mode gets confused and bombs out with warnings when commands are issued.
Steps to reproduce:
1. create a simple svg called shell_test_0.svg with a few shapes in
2. open a command prompt in the directory containing the test files
3. Enter this command to enter shell mode:
"c:\Program Files\Inkscape\
Note that the quotes are required to work around Redmond's twisted notion of what makes a good folder name for executables. Different placement of the quotes causes variations of the bug, but no workaround.
4. The shell will open:
Inkscape 0.91 r13725 interactive shell mode. Type 'quit' to quit.
>
5. In shell mode enter the following:
--query-all shell_test_0.svg
6. The shell produces the following output and then exits unexpectedly:
** (inkscape.
** (inkscape.
** (inkscape.
svg2,51.
layer1,
path4136,
path4138,
path4140,
path4142,
path4144,
path4146,
path4148,
path4150,
path4152,
path4154,
path4156,
path4158,
path4160,
path4162,
tags: | added: cli crash |
Thanks for taking the time to write a report!
Reproduced on Windows XP (32-bit), lp:inkscape/0.92.x rev. 15207.