跳转到主要内容

pgrep python包装器

项目描述

安装

$ [sudo] pip install pgrep

示例

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

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

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

readme42.com

由以下组织支持