Is there a way to programatically identify in our program if our executable is launched with a particular session Type of an Agent in MacOS.
This link has the details of the session types in Launchd Agent.
Is there a way to programatically identify in our program if our executable is launched with a particular session Type of an Agent in MacOS.
This link has the details of the session types in Launchd Agent.