Contents

alkenso/slaunchctl

The package now is part of SwiftSpellbook_macOS

Examples

Bootstrap
try Launchctl.system.bootstrap(URL(fileURLWithPath: "/path/to/com.my.daemon.plist"))
try Launchctl.gui().bootstrap(URL(fileURLWithPath: "/path/to/com.my.user_agent.plist"))
Bootout daemon
try Launchctl.system.bootout(URL(fileURLWithPath: "/path/to/com.my.daemon.plist"))
try Launchctl.gui().bootout(URL(fileURLWithPath: "/path/to/com.my.user_agent.plist"))
List all daemons
let rootDaemons = try Launchctl.system.list()
let user505Agents = try Launchctl.gui(505).list()
Find many more functional inside sLaunchctl!

Package Metadata

Repository: alkenso/slaunchctl

Default branch: main

README: README.md