Skip to main content

execute script via launchd and log stdout, stderr

Project description

Installation

$ [sudo] pip install launchd-exec

CLI

usage: launchd-exec command [args ...]

Examples

$ launchd-exec bash -l path/to/script.sh

logs:

~/Library/Logs/launchd-exec/bash/<datetime>.<pid>/launchd.plist
~/Library/Logs/launchd-exec/bash/<datetime>.<pid>/out.log
~/Library/Logs/launchd-exec/bash/<datetime>.<pid>/err.log

Related projects

readme-generator

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

launchd-exec-2019.3.22.tar.gz (1.9 kB view hashes)

Uploaded Source

Built Distribution

launchd_exec-2019.3.22-py2.py3-none-any.whl (1.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page