Skip to main content

launchctl python interface

Project description


$ [sudo] pip install launchctl


class __doc__
launchctl.Job launchctl Job class. attrs: pid, status, label


function __doc__
launchctl.job(label) return launchctl Job by label return a list of launchctl jobs
launchctl.load(args) launchctl load args ...
launchctl.remove(label) launchctl remove label
launchctl.start(label) launchctl start label
launchctl.stop(label) launchctl stop label
launchctl.unload(args) launchctl unload args ...


import launchctl

for job in
    print("%s %s %s" % ( if else "", job.status, job.label))


Related projects



Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

launchctl-2019.3.22.tar.gz (2.3 kB view hashes)

Uploaded source

Built Distribution

launchctl-2019.3.22-py2.py3-none-any.whl (70.4 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page