do shell script FREEZES Finder!!
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.