Re: -[NSScriptCommand suspendExecution]
Re: -[NSScriptCommand suspendExecution]
- Subject: Re: -[NSScriptCommand suspendExecution]
- From: Jim Correia <email@hidden>
- Date: Sat, 16 May 2009 01:36:31 -0400
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.
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