On 2013 Dec 04, at 11:22, Damien Sorresso <dsorre...@apple.com> wrote:

> Why not just set a relevant environment variable or pass an argument that's 
> different in each plist?

I’ve done that, Damien, but like Norman I have wondered why the job’s 
parameters are not more readily available.  From a shell, you can run launchctl 
with the subcommand info, and pass the job’s label.  It gives you most of the 
plist, but not all.  WatchPath is one key I recall which is not included.  And, 
sadly, I don’t think there is any C API equivalent of launchctl.

_______________________________________________
launchd-dev mailing list
launchd-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/launchd-dev

Reply via email to