Problems launching a process
Problems launching a process
- Subject: Problems launching a process
- From: Greg Hulands <email@hidden>
- Date: Wed, 2 Jun 2004 15:22:25 +1000
Hi,
I am using imagemagick to render some text in an image for my WOApp.
When I run the command from the terminal, all is sweet and works as
expected. When I try and do the exact same command from within the app
I get the following error:
/usr/local/bin/convert -pointsize 50 -font /Library/Fonts/tahoma.ttf
-fill black -draw 'text 205,450 "fwefwef"' -draw 'text 295,1150 "$20"'
-pointsize 35 -draw 'text 1245,1150 "fwefwef"' +profile "*" -resize
510x312
/Library/WebServer/Documents/LightBox/GiftCertificate/certificate.jpg
/tmp/304_52.jpg
exit value = 1
convert: unable to open image `205,450': No such file or directory.
convert: unable to open image `"fwefwef"'': No such file or directory.
convert: unable to open image `295,1150': No such file or directory.
convert: unable to open image `"$20"'': No such file or directory.
convert: unable to open image `1245,1150': No such file or directory.
convert: unable to open image `"fwefwef"'': No such file or directory.
It seems as if there is a problem with how runtime.exec() is passing
the command. I know this is not a directly related WO question, but I
do not know of any good java mailing lists.
Any help is greatly appreciated.
Regards,
Greg
_______________________________________________
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.