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

Reply
 
Thread Tools Search this Thread Display Modes
Old Mar 28, 2008, 08:29 PM   #1
HiRez
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

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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Launchd Help for the Clueless myibookg4 Mac Programming 11 Oct 16, 2013 08:50 AM
Launchd with PathState c5kolb OS X 0 Dec 4, 2012 05:12 PM
Launchd with PathState c5kolb OS X 0 Dec 4, 2012 04:51 PM
launchd-Daemons run every second mehdies Mac Programming 6 Nov 20, 2012 10:11 AM
launchd help Latch Mac Programming 3 Sep 28, 2012 04:13 PM

Forum Jump

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

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

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