[procps-ng] Bug: pidof invokes /bin/ps instead of /bin/procps
- Date: Fri, 1 Feb 2019 21:45:01 +0000 (UTC)
- From: "matthew patton via cygwin" <cygwin@xxxxxxxxxx>
- Subject: [procps-ng] Bug: pidof invokes /bin/ps instead of /bin/procps
The 'pidof' command doesn't work with Cygwin's very crippled version of /bin/ps. Specifically 'ps' doesn't understand '-o' nations whereas 'procps' does.
Either 'pidof' needs to account for the Cygwin 'ps' not being remotely as capable as the Linux 'ps' command and alter invocation accordingly, or better yet just #IFDEF out 'ps' in favor of invoking 'procps'. They are packaged together, afterall...
A alternate but rather heavy-handed solution might be that when the procps-ng package is installed it moves /bin/ps out of the way and replaces it.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple