• 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: folder actions - shell scripts..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: folder actions - shell scripts..


  • Subject: Re: folder actions - shell scripts..
  • From: "Mark J. Reed" <email@hidden>
  • Date: Wed, 20 Apr 2005 13:35:12 -0400

Ah, no, it doesn't.  But this does:

         do shell script "/path/to/my/script.sh </dev/null >/dev/null 2>&1 &"

You can replace the second /dev/null with the path to a log file if you want to capture the script's output rather than discarding it.


On 4/20/05, Mark J. Reed <email@hidden> wrote:
Does this do the right thing?

       do shell script "/path/to/my/script.sh &"

On 4/20/05, wayne melrose < email@hidden > wrote:
I have a shell script that I would like to run from a folder action
script.

Basically i have a hot folder, that moves files to another drive when
they are dropped in there. It occasionally calls on the finder for some
things which I also want to avoid by using a shell script.

so my applescript script in the folder actions will basically just say

on adding folder items to this_folder after receiving these_items
        do shell script "/path/to/my/script.sh"
end adding folder items to

What I would REALLY like to do is have the script run, without folder
actions waiting until the shell script is finished.

I know this kind of question has been asked before... But don't
remember the answer ;)

thanks

Wayne


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (

This email sent to email@hidden




--
Mark J. Reed < email@hidden>



--
Mark J. Reed <email@hidden>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >folder actions - shell scripts.. (From: wayne melrose <email@hidden>)
 >Re: folder actions - shell scripts.. (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: folder actions - shell scripts..
  • Next by Date: Re: Mount Current Users Folder as Disk
  • Previous by thread: Re: folder actions - shell scripts..
  • Next by thread: Script Error" A resource wasn ยน t found
  • Index(es):
    • Date
    • Thread