[launchd-dev] EnableGlobbing no longer supported on OS X 10.10?

Ilya Kulakov kulakov.ilya at gmail.com
Fri Oct 3 21:46:40 PDT 2014


Assuming you’re talking about per-user agent, isn’t it current working directory? I.e. you can refer to it using ‘.’.

On 03 окт. 2014 г., at 23:30, Ed Wynne <arwyn at phasic.com> wrote:

> Back to the original question… how exactly, in Apple’s infinite wisdom, are we supposed to safely refer to a user’s home directory?
> 
> -Ed
> 
> On Oct 3, 2014, at 12:01 PM, Damien Sorresso <dsorresso at apple.com> wrote:
> 
>> Adam,
>> 
>> Yes, that key is no longer implemented. Please file a bug so we can either update the documentation or implement it.
>> -damien
>> 
>> 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[1]: (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
>>> http://lokiware.info
>>> twitter: @lokiware
>>> 
>>> _______________________________________________
>>> launchd-dev mailing list
>>> launchd-dev at lists.macosforge.org
>>> https://lists.macosforge.org/mailman/listinfo/launchd-dev
>> 
>> _______________________________________________
>> launchd-dev mailing list
>> launchd-dev at lists.macosforge.org
>> https://lists.macosforge.org/mailman/listinfo/launchd-dev
> 
> _______________________________________________
> launchd-dev mailing list
> launchd-dev at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/launchd-dev



More information about the launchd-dev mailing list