• 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: -[NSScriptCommand suspendExecution]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -[NSScriptCommand suspendExecution]


  • Subject: Re: -[NSScriptCommand suspendExecution]
  • From: "email@hidden" <email@hidden>
  • Date: Sat, 16 May 2009 11:52:16 -0700

At 1:36 AM -0400 5/16/09, Jim Correia wrote:
On Fri, May 15, 2009 at 12:26 PM, email@hidden <email@hidden> wrote:

 if i call -[NSScriptCommand suspendExecution] whilst execution a script
 command, i find that the executing script will still time out after 2
 minutes.

 is this a bug in cocoa? or a misunderstanding on my part about
 suspendExecution?

A misunderstanding on your part about how things work.

jim,
i was afraid that was the case. not the first time i've had a misunderstanding! :-)


thanx for the reply,
ken



Even if you -suspendExecution and later return a result, the timeout that the sender specified when they sent the event - how long they were willing to wait for either an answer or a timeout error - is still in force.

- Jim


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: -[NSScriptCommand suspendExecution] (From: Jim Correia <email@hidden>)

  • Prev by Date: Re: Calling delegates explicitly
  • Next by Date: Re: Calling delegates explicitly
  • Previous by thread: Re: -[NSScriptCommand suspendExecution]
  • Next by thread: [iPhone] NSURLConnection cache problem?
  • Index(es):
    • Date
    • Thread