Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder freezes during a do shell script



At 8:26 PM -0500 25/04/04, Richard Covert wrote:
>If I build a shell command string as below, I can execute the command.
>But, the Finder freezes until the 'rar' command completes. I also get
>an AppleEvent timeout alert in my desktop.

I think Ken's solution will work, however I think that you could alternately - without changing your shell command - send it to an application that you don't care to be unresponsive. For instance you could make a stay-open applet, say "LengthyTasksServer.app" and do:

--------------- untested
tell app "LengthyTasksServer.app"
with timeout of 86400 -- 24 hours
do shell script [etc]
end
end
---------------

Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


References: 
 >Finder freezes during a do shell script (From: Richard Covert <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.