Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <005e01c0fdd8$e3a7c480$6464648a@ca.boeing.com> From: "Michael A. Chase" To: "Earl Chew" , "Randall R Schulz" Cc: References: <3B37B58B DOT F87EA366 AT agilent DOT com> <3B37B58B DOT F87EA366 AT agilent DOT com> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20010625161345 DOT 0257c1d8 AT pop3 DOT cris DOT com> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20010625170322 DOT 026ebc10 AT pop3 DOT cris DOT com> <3B37D303 DOT 684A66CC AT agilent DOT com> Subject: Re: Shell avoidance in make-3.79.1-3 Date: Mon, 25 Jun 2001 17:41:47 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Maybe make doesn't know it can execute ps directly. Do you get the same effect if you give it /usr/bin/ps ? Or with: all: /usr/bin/ps Or: all: /usr/bin/ps -ef -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. ----- Original Message ----- From: "Earl Chew" To: "Randall R Schulz" Cc: Sent: Monday, June 25, 2001 17:10 Subject: Re: Shell avoidance in make-3.79.1-3 > Randall R Schulz wrote: > > That leaves only the question: Why are you asking when you know > > already? > > The makefile: > > all: ; ps > > tells me: > > bash-2.05$ make -f ../foo.mk > ps > PID PPID PGID WINPID TTY UID STIME COMMAND > 317 1 317 317 -1 500 14:59:36 /bin/bash > 461 317 461 549 -1 500 14:59:41 /usr/bin/make > 591 461 461 224 -1 500 14:59:41 /bin/sh > 662 591 461 585 -1 500 14:59:41 /usr/bin/ps > > that make is invoking /bin/sh in order to invoke /usr/bin/ps. > > Why isn't make invoking /usr/bin/ps directly? -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple