Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread Display Modes
Old Mar 28, 2008, 08:29 PM   #1
macrumors 601
HiRez's Avatar
Join Date: Jan 2004
Location: Western US
Return info from launchd WatchPath trigger?

Hi, I'm thinking about setting up a launchd process that will watch a folder. The problem is, I want multiple launchd triggers (watching separate folders) to call into the same script, so I need to know which folder the trigger came from. Is there any way to tell this? Does (or can) launchd include that information as an argument to the command or something? When setting up the launchd process, you can include arguments in the plist, but as far as I can tell these are static values.
Go outside, the graphics are amazing!
HiRez is offline   0 Reply With Quote

MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Bought Leopard from Apple Store, return copy from Amazon? buffalo OS X 11 Oct 31, 2007 04:34 PM
RIAA Can't Get Info From ISPs, Appeals Court Says MacBytes News Discussion 2 Dec 19, 2003 07:19 PM
Suggestion: Automatically Get Album Info from iTunes Jetson Daily Tunes Site Discussion and Feedback 2 Nov 14, 2003 11:23 AM
Interesting 'Processor Speed' Info from Yahoo... burger011 Macintosh Computers 14 Jan 30, 2003 08:46 PM

All times are GMT -5. The time now is 02:22 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013,, LLC