startupitemcontext(8) osx man page | unix.com

Man Page: startupitemcontext

Operating Environment: osx

Section: 8

StartupItemContext(8)					    BSD System Manager's Manual 				     StartupItemContext(8)

NAME
StartupItemContext -- Execute a program in StartupItem context
SYNOPSIS
StartupItemContext [program [arguments]]
DESCRIPTION
The StartupItemContext utility launches the specified program in StartupItem bootstrap context. Each Darwin and Mac OS X login creates a unique bootstrap subset context to contain login specific Mach port registrations with the bootstrap server. All such registrations per- formed within the context of that subset are only visible to other processes within that context or subsequent subsets of it. Therefore, a Mach port based service/daemon launched within a login context will not be visible to other such contexts. To override this, a root user can use the StartupItemContext utility to launch the program within the same bootstrap context as all other StartupItems. All subsequent Mach port bootstrap registrations perfomed by the program will be visible system-wide.
NOTES
All bootstrap port lookups will also be resticted to the StartupItem context. The services provided on a per-login basis (clipboard, etc...) will not be available to the program.
SEE ALSO
SystemStarter(8) Darwin July 7, 2002 Darwin
Related Man Pages
launchd(8) - mojave
notifyutil(1) - mojave
consolemessage(8) - opendarwin
launchd(8) - osx
systemstarter(8) - osx
Similar Topics in the Unix Linux Community
AIX Links
Hearing Aid for OSX 10.12.x and greater.
A dash to GOTO or a dash from GOTO, that is the question...
Syntax error in subtraction in Bash