Re: Getting "stdout" of an app launched by XCode through AppleScript
Re: Getting "stdout" of an app launched by XCode through AppleScript
- Subject: Re: Getting "stdout" of an app launched by XCode through AppleScript
- From: Philip Aker <email@hidden>
- Date: Thu, 17 Jul 2008 08:20:11 -0700
On 08-07-17, at 08:06, Scott Thompson wrote:
Whew... talk about your round-about-ness.
?
I can't tell which thread you are replying to.
I'd like to write an AppleScript which instructs XCode to build and
launch an application project. I'd also like to capture the results
that XCode sends to the "run console" (and which the program is
writing to stdout).
Is there any way to get that output back to my AppleScript? XCode
seems to simply be returning the message "executable launched"
You could try something like:
do shell script "cd /path/to/projectdir;xcodebuild;open /path/to/
my_program;"
Note that hard-quote rules for paths and args apply.
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
Democracy: Two wolves and a sheep voting on lunch.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden