Re: -[NSScriptCommand suspendExecution]
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