pgrep

pgrep python wrapper


Keywords
pgrep, python
License
Unlicense
Install
pip install pgrep==2020.12.3

Documentation

Installation

$ [sudo] pip install pgrep

Examples

>>> import pgrep
>>> pgrep.pgrep("Finder")
[322]

>>> pgrep.pgrep("bash")
[416, 434, 30681, 30918]

>>> pgrep.pgrep("not-existing-process")
[]

readme42.com