• 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: Finder freezes during a do shell script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder freezes during a do shell script


  • Subject: Re: Finder freezes during a do shell script
  • From: Emmanuel <email@hidden>
  • Date: Mon, 26 Apr 2004 16:56:19 +0200

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>)

  • Prev by Date: Permissions when new folder made
  • Next by Date: Re: mount volume errors
  • Previous by thread: Re: Finder freezes during a do shell script
  • Next by thread: more about the Finder freeze
  • Index(es):
    • Date
    • Thread