• 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
Re: Feeding Terminal.app from Xcode RunScript Phase
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feeding Terminal.app from Xcode RunScript Phase


  • Subject: Re: Feeding Terminal.app from Xcode RunScript Phase
  • From: Raphael Sebbe <email@hidden>
  • Date: Fri, 16 Apr 2010 10:15:15 +0200

Hi Jens,

yes, osascript does the job, but it's a bit clumsy to pass along variables, etc.

Thanks,

Raphael

On Thu, Apr 15, 2010 at 6:02 PM, Jens Alfke <email@hidden> wrote:

On Apr 15, 2010, at 5:38 AM, Raphael Sebbe wrote:

1. have feedback for that command within Xcode,

I don't think so, because I haven't seen any case where Xcode shows information about the progress within an individual build command.


2. execute the script in an external Terminal.app, to monitor its progress.

You can probably make your shell script use the 'osascript' command to send an AppleEvent to Terminal telling it the command line to run. I don't think there's a way to have it block until the 'scp' command finishes, though.

—Jens



--
Raphael Sebbe
Creaceed — Creative iPhone & Mac apps
••• Twitter: http://twitter.com/rsebbe
••• Web: http://www.creaceed.com
 _______________________________________________
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

  • Follow-Ups:
    • Re: Feeding Terminal.app from Xcode RunScript Phase
      • From: Jonas Brømsø Nielsen <email@hidden>
References: 
 >Feeding Terminal.app from Xcode RunScript Phase (From: Raphael Sebbe <email@hidden>)
 >Re: Feeding Terminal.app from Xcode RunScript Phase (From: Jens Alfke <email@hidden>)

  • Prev by Date: Assertion failure preventing build
  • Next by Date: Re: Feeding Terminal.app from Xcode RunScript Phase
  • Previous by thread: Re: Feeding Terminal.app from Xcode RunScript Phase
  • Next by thread: Re: Feeding Terminal.app from Xcode RunScript Phase
  • Index(es):
    • Date
    • Thread