At 1:36 AM -0400 5/16/09, Jim Correia wrote:
On Fri, May 15, 2009 at 12:26 PM, [email protected] <[email protected]> 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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to