[launchd-dev] EnableGlobbing no longer supported on OS X 10.10?
arwyn at phasic.com
Fri Oct 3 21:30:52 PDT 2014
Back to the original question… how exactly, in Apple’s infinite wisdom, are we supposed to safely refer to a user’s home directory?
On Oct 3, 2014, at 12:01 PM, Damien Sorresso <dsorresso at apple.com> wrote:
> Yes, that key is no longer implemented. Please file a bug so we can either update the documentation or implement it.
> On 3 Oct, 2014, at 00:42, Adam Nohejl <adam at lokiware.info> wrote:
>> Dear Launchd list,
>> I use EnableGlobbing in my launchd.plist in order to launch a tool located in a user's directory (this way I can use ~ and I do not need to hard-wire the user's directory path, which can of course change any time, even in OS X[^1]).
>> On OS X 10.10 GM candidate, the key is still documented in the man page and I can even see a new LAUNCH_JOBKEY_ENABLEGLOBBING in the XPC API diffs.
>> But in reality, I see this:
>> com.apple.xpc.launchd: (my.bundle.id) The EnableGlobbing key is no longer respected. Please remove it.
>> Why is the key being removed? Is there going to be any replacement for referring to paths in user's home directory?
>> [^1]: http://support.apple.com/kb/HT1428?viewlocale=en_US&locale=en_US
>> Adam Nohejl, Lokiware
>> twitter: @lokiware
>> launchd-dev mailing list
>> launchd-dev at lists.macosforge.org
> launchd-dev mailing list
> launchd-dev at lists.macosforge.org
More information about the launchd-dev