Change 7594

mike_ashmore (Mike Ashmore)
Mike Ashmore committed this change into //guest/mike_ashmore/p4dPrefPaneOSX
Request Review
Download .zip
Now correctly reflect status of server: running vs.
not running.

Note: OS X's authorization services make it really really hard to handle the installation of launchd services in a genuinely secure manner. You have to create a helper app to run with elevated privileges, then send commands to it via IPC and ... well, it's all just a bit much for me to figure out for a tool that was intended to be a quick one-off. Perhaps if I were employed by Perforce I could be troubled to do it the "right" way.

Supposedly the ServiceManagement framework makes this all less painful, but it's an API that's brand-new in OS X 10.6 and not terribly well documented yet. And in any case, 10.6 still has not seen widespread enough adoption to justify using a 10.6-only framework.
  • Files 5
  • Comments 0
5 edited 0 added 0 deleted
Perforce Server.xcodeproj/mashmore.mode1v3#2
Loading...
Perforce Server.xcodeproj/mashmore.pbxuser#2
Loading...
Perforce_ServerConfig.h#2
Loading...
Perforce_ServerConfig.m#2
Loading...
Perforce_ServerPref.m#2
Loading...
Tip: Use n and p to cycle through the changes.