app-piddeprecated

get app pid (OS X)

Usage no npm install needed!

<script type="module">
  import appPid from 'https://cdn.skypack.dev/app-pid';
</script>

README

get app pid (OS X)

Install

[sudo] pip install app-pid

[sudo] sudo npm install -g app-pid

Features

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

Usage

usage: app-pid app

Example

$ 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"

Examples/

Feedback GitHub issues Join the chat at https://gitter.im/russianidiot/app-pid.sh.cli GitHub followers


cli packages russianidiot.github.io/cli/

repos list russianidiot.github.io