• 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
do shell script FREEZES Finder!!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

do shell script FREEZES Finder!!


  • Subject: do shell script FREEZES Finder!!
  • From: Richard Covert <email@hidden>
  • Date: Mon, 26 Apr 2004 03:35:23 -0500

tell app "Finder"
...
...
...

(* now do the rar command such as
rar a -s -v10M -vn $1 *.mp3
*)
set shell_cmd to "cd " & POSIX_Path & ,
" && /usr/local/bin/rar a -s -v10M -vn " & BaseHostName & ,
" SeanHannity_0423_CommericalFree.mp3 2>&1&"
display dialog "shell_cmd is " & shell_cmd
--do shell script shell_cmd
get shell_cmd
end tell



As you can see, I have tried to put the UNIX command in the background, and yet the Finder still freezes!!!

As I said, the 'rar' takes several minutes to complete, but the Finder freezes ONLY when I execute 'rar' from a do shell script command within an Applescript.

So, it seems to me to be a bug in Applescript. Especially since I also get an Applevent Timeout error from the AppleScript Editor running the applescript itself.
_______________________________________________
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.


  • Follow-Ups:
    • Re: do shell script FREEZES Finder!!
      • From: Graff <email@hidden>
    • Re: do shell script FREEZES Finder!!
      • From: Nigel Smith <email@hidden>
    • Re: do shell script FREEZES Finder!!
      • From: Simon Forster <email@hidden>
  • Prev by Date: Re: FolderActions bug?
  • Next by Date: Re: UNIX DATE
  • Previous by thread: Re: more about the Finder freeze
  • Next by thread: Re: do shell script FREEZES Finder!!
  • Index(es):
    • Date
    • Thread