Skip to content

andrewpetrochenkov/launchd-exec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

$ [sudo] pip install launchd-exec
$ [sudo] npm i -g launchd-exec

Examples

$ launchd-exec bash -l path/to/script.sh
launchd-exec.<hash> # label

$ pid="$(/bin/launchctl list | grep "$label" | awk '{print $1}')"

logs:

~/Library/Logs/launchd-exec/<hash>/out.log
~/Library/Logs/launchd-exec/<hash>/err.log
~/Library/Logs/launchd-exec/<hash>/launchd.plist

readme42.com

About

🚀 execute script via launchd and log stdout, stderr

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published