hefronmedia / pdfsizeopt

Automatically exported from code.google.com/p/pdfsizeopt
0 stars 0 forks source link

make pdfsizeopt.exe work with spaces in command and arg filenames #61

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Some of the argv[i] of spawnv need double quotes around them.

argv[0] (the command name) seems to work without quotes on Windows XP, but 
doesn't work on wine-1.2.

Original issue reported on code.google.com by pts...@gmail.com on 2 Jul 2012 at 5:20

GoogleCodeExporter commented 8 years ago
While the line
pdfsizeopt.exe "i n.pdf"
seems to have trouble with spaces, the python-script itself seems to work fine 
with spaces under Windows:
pdfsizeopt_python.exe pdfsizeopt.py "i n.pdf"
Maybe you can work with that as a workaround.

Original comment by Sebastia...@googlemail.com on 17 Jun 2014 at 1:57

GoogleCodeExporter commented 8 years ago
Thanks for the feedback. Which version of Windows are you using?

(It would be awesome if someone would volunteer to fix pdfsizeopt.exe, since I 
don't have access to a native Windows computer.)

Original comment by pts...@gmail.com on 17 Jun 2014 at 6:02