Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <3B37D303.684A66CC@agilent.com>
Date: Mon, 25 Jun 2001 17:10:43 -0700
From: Earl Chew <earl_chew@agilent.com>
Organization: Agilent Technologies
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Randall R Schulz <rrschulz@cris.com>
Cc: cygwin@cygwin.com
Subject: Re: Shell avoidance in make-3.79.1-3
References: <3B37B58B.F87EA366@agilent.com>
	 <3B37B58B.F87EA366@agilent.com>
	 <5.1.0.14.2.20010625161345.0257c1d8@pop3.cris.com> <5.1.0.14.2.20010625170322.026ebc10@pop3.cris.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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?

Earl
-- 
> ---------------------------------------------------------------------+
> Earl Chew                              http://www.agilent.com        |
> Agilent Technologies                   mailto:earl_chew@agilent.com  |
> Advanced Networks Division             Tel:   +1 604 454 3411        |
> 2500-4710 Kingsway                     Fax:   +1 604 454 3401        |
> Burnaby BC V5H 4M2 Canada                                            |
> ---------------------------------------------------------------------+

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

