2019.5.10 • Published 5 years ago
mac-app-interpreter v2019.5.10
macOS script apps interpreter
Installation
$ [sudo] npm i -g mac-app-interpreter
Benefits
- app stdout and stderr logs
How it works
<app>/Contents/MacOS/executable
~/Library/Logs/Applications/<app>/out.log
~/Library/Logs/Applications/<app>/err.log
<app>/Contents/MacOS/executable
#!/usr/bin/env app <interpreter>
...
Scripts usage
usage: app interpreter args ...
Examples
bash:
#!/usr/bin/env app bash
...
python:
#!/usr/bin/env app python
...