• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Problems launching a process
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: Re: NSArray.sortedArrayUsingComparator(OrderedAscending)
  • Next by Date: Re: Can't find Application class at launch
  • Previous by thread: Re: Can't find Application class at launch
  • Next by thread: XCode CVS update issue
  • Index(es):
    • Date
    • Thread