running-apps
Get running .app:s.
$ npm install running-apps
Usage
const getApps =// [// {// pid: 1234// comm: '/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal'// app: '/Applications/Utilities/Terminal.app'// },// ...// ]
cli
npm install -g running-appsrunning-apps# [# {# "pid": "1234",# "comm": "/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal",# "app": "/Applications/Utilities/Terminal.app"# },# ...# ]