Re: External Command Call [ LATEST ] - More Java Than WebObjects
Re: External Command Call [ LATEST ] - More Java Than WebObjects
- Subject: Re: External Command Call [ LATEST ] - More Java Than WebObjects
- From: Art Isbell <email@hidden>
- Date: Tue, 8 Jul 2003 20:22:26 -1000
On Tuesday, July 8, 2003, at 08:07 PM, Jonathan Fleming wrote:
OK, I'm looking at this code a little bit harder now and I think I may
have found part or all of my problem... the java output is creating an
ImageMagick input (command line) with quotes attached to it ("") as
like:
------- COMMAND LINE WITH QUOTES ATTACHED (CAUSES ERROR) --------
"C:\imagemagick-5.5.7-q8\convert -size 90x90
\Apple\web\WebObjects\JandMGeneralMaintenance.woa\Contents\WebServerRes
ources\fullSizeImages800pix\Conservatory4ChairDinner.jpg -resize 90x90
+profile "*"
\Apple\web\WebObjects\JandMGeneralMaintenance.woa\Contents\WebServerRes
ources\fullSizeImages800pix\Conservatory4ChairDinnerThumb.jpg"
this causes a FILE NOT FOUND ERROR, whereas removing the quotes ("")
to produce the line below executes the script OK.
So how do I eliminate the quotes("")?
OK, I'll play. Take a close look at your command line; it includes
internal quotes surrounding the asterisk which is bound to cause
problems. These internal quotes need to be protected - \"*\". Just a
guess...
Aloha,
Art
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.