[LinuxCNC/linuxcnc PR#88] configure: use (more) portable pgrep

未分类 bolang 4个月前 (10-15) 25次浏览

Issue #88 | 状态: 已关闭 | 作者: jepler | 创建时间: 2016-06-27

标签: portability


pgrep exists on linux and freebsd, while pidof is linux-specific. Some sources even refer to pidof as deprecated. Go ahead and use pgrep everywhere. This passes on all linux architectures on our buildbot.

@trasz does this work for freebsd?


评论 (2)

#1 – jepler 于 2016-06-27

will push a fresh version with merge conflict fixed soon.


#2 – jepler 于 2016-07-13

This needs further investigation. pgrep wat returns lots of processes, more than pidof -x wat.


原始Issue: https://github.com/LinuxCNC/linuxcnc/pull/88

喜欢 (0)