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

Re: do shell script FREEZES Finder!!


  • Subject: Re: do shell script FREEZES Finder!!
  • From: Nigel Smith <email@hidden>
  • Date: Mon, 26 Apr 2004 15:43:05 +0100

On 26/4/04 9:35, "Richard Covert" <email@hidden> wrote:

> set shell_cmd to "cd " & POSIX_Path & ,
> " && /usr/local/bin/rar a -s -v10M -vn " & BaseHostName & ,
> " SeanHannity_0423_CommericalFree.mp3 2>&1&"
>
> As you can see, I have tried to put the UNIX command in the background,
> and yet the Finder still freezes!!!

You also need to tell the backgrounded process *where* to put any output:

set shell_cmd to "cd " & POSIX_Path & ,
" && /usr/local/bin/rar a -s -v10M -vn " & BaseHostName & ,
" SeanHannity_0423_CommericalFree.mp3 /file/path 2>&1&"

If you don't want the output, send it to the "bit bucket"

set shell_cmd to "cd " & POSIX_Path & ,
" && /usr/local/bin/rar a -s -v10M -vn " & BaseHostName & ,
" SeanHannity_0423_CommericalFree.mp3 /dev/null 2>&1&"

Read TechNote TN2065
<http://developer.apple.com/technotes/tn2002/tn2065.html> for a far better
explanation than I can manage :-)

HTH,

Nigel
_______________________________________________
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>
References: 
 >do shell script FREEZES Finder!! (From: Richard Covert <email@hidden>)

  • Prev by Date: mount volume errors
  • Next by Date: Re: UNIX DATE
  • Previous by thread: Re: do shell script FREEZES Finder!!
  • Next by thread: Re: do shell script FREEZES Finder!!
  • Index(es):
    • Date
    • Thread