X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:reply-to:to:message-id
	:subject:mime-version:content-type:content-transfer-encoding
	:references; q=dns; s=default; b=WIxg6vIk9dIhW04cE/QcSoJsPsPIjXa
	IZddqtZeetmMqEwvFz8XaHfUasEqYOxo2iePEQczfTzGbnN+GmgZvYroRCQeOVKc
	pwTuHnuJ1zxJFEP/lzYjZ/dF5z+O0aWVD355S2MLryTLWT0iR7KE3HkWhNgDwAT8
	pO2zyvPHGWIM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:reply-to:to:message-id
	:subject:mime-version:content-type:content-transfer-encoding
	:references; s=default; bh=jJ5Ok3Ydfa2bl6e4/wYNS8A4ysA=; b=qSUT/
	LTbRwqdNubIgztKUZ4Qv+8pM9uu4lA/iSy4yEfpPkXYsZA6H9cewnejupWJm2wwu
	+q7kV1tN0weNPe0wr1/+Pv3GqIq/TlFcTE+y2Y0du5msw8HD1Ae9Ppjs0i5e68qB
	9OeUdlW4QX1FHaXzZCIsa6FIf/kURxPaBs4Yhg=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*x:KHTML, H*x:Chrome, H*x:AppleWebKit, H*x:537.36
X-HELO: sonic301-4.consmr.mail.bf2.yahoo.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1549057503; bh=Kx8RZhtUYgOcI45e5S7PNbRPWf7C0eNVfgX49oHuwgU=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=mieXEyJPa8hLJlVP6byA+i91o5XF0FAWyhv4/6gAm7aHOaMUBraXajdHpNSadAeIMkKI8zXaL/og4xwWuBMOYcXvL65yFFTjTjcLMk1Cil8wVu6Ob+iCJ43tzcoCfaKot0WyAG1RC+dIex4F0z/e2R7e+eA01KOts5uGj77WIBsTBXodumFmEJNr3xveQNIAb9DJhT9jgjNIwJzt/RzlYeII3ALP9eQYqwCNOUymO3EbiOMBDZIIBN4ClhTyIbajh04ee0WhpnJujL0K+suZ1MHjvmvPqmNlr2leTErKdXzz1SKQUNgtAFsqCpHmP5Wkem6hsDhejavJqK5TKSiCEQ==
Date: Fri, 1 Feb 2019 21:45:01 +0000 (UTC)
From: "matthew patton via cygwin" <cygwin@cygwin.com>
Reply-To: matthew patton <pattonme@yahoo.com>
Reply-To: matthew patton <pattonme@yahoo.com>
To:  <cygwin@cygwin.com>
Message-ID: <1898576293.1649697.1549057501800@mail.yahoo.com>
Subject: [procps-ng] Bug: pidof invokes /bin/ps instead of /bin/procps
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
References: <1898576293.1649697.1549057501800.ref@mail.yahoo.com>
X-IsSubscribed: yes

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

