public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* [procps-ng] Bug: pidof invokes /bin/ps instead of /bin/procps
       [not found] <1898576293.1649697.1549057501800.ref@mail.yahoo.com>
@ 2019-02-01 21:45 ` matthew patton via cygwin
  0 siblings, 0 replies; only message in thread
From: matthew patton via cygwin @ 2019-02-01 21:45 UTC (permalink / raw)
  To: cygwin

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
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-02-01 21:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1898576293.1649697.1549057501800.ref@mail.yahoo.com>
2019-02-01 21:45 ` [procps-ng] Bug: pidof invokes /bin/ps instead of /bin/procps matthew patton via cygwin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).