From the appdb:
-----------------------------------------------------------------------
* SAVE FOR WEB Solution* : Well, after a fair amount of trail-and-error testing, I have FINALLY found what WILL or WONT allow Save-For-Web to work... It actually is how you execute Photoshop.exe ... if you try to run it with forward slashes in the path, Save for Web will NOT work. If you execute with backslashes, Save for Web WILL work.
So...
Save for Web works with: wine "c:\program files\adobe\Photoshop 7.0\Photoshop.exe"
Save for Web WILL NOT work with: wine "c:/program files/adobe/Photoshop 7.0/Photoshop.exe"
Enjoy! Hiji
-----------------------------------------------------------------------
I don't have Photoshop here, but perhaps we should ensure that argv[0] and equivalents always use backslashes?
On Tue, 17 Aug 2004, Mike Hearn wrote: [...]
So...
Save for Web works with: wine "c:\program files\adobe\Photoshop 7.0\Photoshop.exe"
Save for Web WILL NOT work with: wine "c:/program files/adobe/Photoshop 7.0/Photoshop.exe"
[...]
I don't have Photoshop here, but perhaps we should ensure that argv[0] and equivalents always use backslashes?
Remember that forward slashes are valid path separators on Windows. So we should first check whether the same problem happens on Windows, either by starting it that way on the command line or, even better (because cmd.exe might hack the command line before passing it to the system), from a CreateProcess call.