[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53354] print() with ampersand (&) in path or
From: |
Oleg Mouraenko |
Subject: |
[Octave-bug-tracker] [bug #53354] print() with ampersand (&) in path or name crash (windows 64) |
Date: |
Fri, 27 Apr 2018 15:26:44 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0 |
Follow-up Comment #10, bug #53354 (project octave):
I have the same issue with spaces in folder name. After some debugging, I
found that command line which calls GS is not correct. In my case it is
cmd = C:\Octave\OCTAVE~1.2\bin\gs.exe -dQUIET -dNOPAUSE -dBATCH -dSAFER
-dAutoRotatePages=/None -sDEVICE=eps2write -sOutputFile=""test test\test.eps""
-
As you can see, there are two double quotes in output file name.
Variable 'fileout' in line 607 of print.m gets extra single quotes, which in
line 688 are replaced with double quotes. Additional quotes are added in line
148 of __ghostscript__.m.
Removing the extra quotes in __ghostscript__.m resolves the issue.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53354>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #53354] print() with ampersand (&) in path or name crash (windows 64),
Oleg Mouraenko <=