Can a launch agent force other things to wait?

I.e. -- On login, either loginwindow or launchd (not sure which) wants to run a 
bunch of things for you, such as Dock and Finder, and a bunch of things that 
show up in the menu bar. Is there a way to make sure that this completes first?

(This would actually solve TWO issues -- the second being able to force JackDmp 
to start up before anything that generates sound.)


On 2017-09-16, at 11:32 AM, Carl Hoefs <[email protected]> wrote:

> I would suggest using a LaunchAgent.
> 
> http://www.grivet-tools.com/blog/2014/launchdaemons-vs-launchagents/
> 
> -Carl
> 
> 
>> On Sep 16, 2017, at 10:34 AM, Michael <[email protected]> wrote:
>> 
>> I'd like to know how to run a command at login. Specifically, an hdiutil 
>> command to attach a drive image.
>> 
>> I need this to run from login window, after logging in, but before anything 
>> else -- before finder tries to run, can't find the directory, and loses my 
>> place; before terminal tries to start up, and puts me in either / or ~ 
>> because the directory I was working in is no longer there.
>> 
>> For that matter, is there any way to get a command run early in bootup? 
>> rc.local is late -- too many other daemons have started before it runs (long 
>> ago, you could edit /etc/rc and add stuff before the multi-user startup 
>> started. Now?)
>> 
>> ---
>> Entertaining minecraft videos
>> http://YouTube.com/keybounce
>> 
>> _______________________________________________
>> MacOSX-talk mailing list
>> [email protected]
>> http://www.omnigroup.com/mailman/listinfo/macosx-talk
> 

---
Entertaining minecraft videos
http://YouTube.com/keybounce

_______________________________________________
MacOSX-talk mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/macosx-talk

Reply via email to