Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using Runtime.getRuntime().exec()



All,

I am running into a problem launching Photoshop from my application. I
use the following String to launch Photoshop along with an image using
exec().

Open -a "Applications/Adobe Photoshop CS2/Adobe Photoshop CS2.app"
"/Users/administrator/myapp/tmp/{555}_01.jpg" 


If I use the same string on command line the Photoshop does launch with
the image. Interesting part is if I create a shortcut to Photoshop
application that does work.


Regards,
Navin


The information contained in this communication is intended for the use of the designated recipients named above. If the reader of this communication is not the intended recipient, you are hereby notified that you have received this communication in error, and that any review, dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify The Associated Press immediately by telephone at +1-212-621-1898 and delete this email. Thank you.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: Opening Multiple NIb but with Java referencing Objective-C (From: Michael Hall <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.