X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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" Reply-To: matthew patton Reply-To: matthew patton To: 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 DOT 1649697 DOT 1549057501800 DOT ref AT mail DOT yahoo DOT 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