@@ -56,15 +56,10 @@ launchd job properties (these come directly from launchd and NOT the .plist file
5656.. code-block :: python
5757
5858 >> > launchd.LaunchdJob(" com.apple.Finder" ).properties
59- {' OnDemand' : 1 , ' PID' : 278 , ' PerJobMachServices' : {' com.apple.coredrag' : 0 ,
60- ' com.apple.axserver' : 0 , ' com.apple.CFPasteboardClient' : 0 ,
61- ' com.apple.tsm.portname' : 0 }, ' LimitLoadToSessionType' : ' Aqua' ,
62- ' Program' : ' /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder' ,
63- ' TimeOut' : 30 , ' LastExitStatus' : 0 , ' Label' : ' com.apple.Finder' ,
64- ' MachServices' : {' com.apple.finder.ServiceProvider' : 10 }}
59+ {' Label' : ' com.apple.Finder' , ' PlistPath' : ' /System/Library/LaunchAgents/com.apple.Finder.plist' , ' Scope' : 4 , ' Status' : ' unknown' , ' StatusCode' : None , ' Registered' : True }
6560
66- >> > launchd.LaunchdJob(" com.apple.Finder" ).properties[" OnDemand " ]
67- 1
61+ >> > launchd.LaunchdJob(" com.apple.Finder" ).properties[" Label " ]
62+ ' com.apple.Finder '
6863
6964
7065 Find all plist filenames of currently running jobs:
@@ -80,10 +75,8 @@ Job properties of a given job (this uses the actual .plist file):
8075
8176.. code-block :: python
8277
83- >> > launchd.plist.read(" com.apple.kextd" )
84- {' ProgramArguments' : [' /usr/libexec/kextd' ], ' KeepAlive' : {' SuccessfulExit' : False },
85- ' POSIXSpawnType' : ' Interactive' , ' MachServices' : {' com.apple.KernelExtensionServer' :
86- {' HostSpecialPort' : 15 }}, ' Label' : ' com.apple.kextd' }
78+ >> > launchd.plist.read(" com.apple.Finder" )
79+ {' POSIXSpawnType' : ' App' , ' RunAtLoad' : False , ' KeepAlive' : {' SuccessfulExit' : False , ' AfterInitialDemand' : True }, ' Label' : ' com.apple.Finder' , ' Program' : ' /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder' , ' CFBundleIdentifier' : ' com.apple.finder' , ' ThrottleInterval' : 1 }
8780
8881
8982
0 commit comments