Contents

Alkenso/sLaunchctl

The package now is part of [SwiftSpellbook_macOS](https://github.com/Alkenso/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

Stars: 17

Forks: 1

Open issues: 1

Default branch: main

Primary language: swift

License: MIT

README: README.md

Archived: yes