||Thread Tools||Search this Thread||Display Modes|
|Mar 28, 2008, 08:29 PM||#1|
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!
|Thread Tools||Search this Thread|
|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|
All times are GMT -5. The time now is 05:21 AM.