get app pid (OS X)


Keywords
app pid
License
Other
Install
pip install app-pid==0.0.30

Documentation

get app pid (OS X)

bash OS X PyPI PyPI

Deprecated

important: repo deprecated

Install

[sudo] pip install app-pid

Features

  • app name, path, bundle support
  • case insensitive (name, path)

Examples

$ app-pid "iTunes"
294

$ app-pid "iTunes.app"
294

$ app-pid "com.apple.iTunes" # bundle
294

$ app-pid "unknown" &> /dev/null && echo "running" || echo "not running"

Feedback GitHub followers GitHub issues