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:message-id:subject:from:reply-to:to:date :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=HoMMfEQ+pf8TfyXb JDWSJSL6K2gNpHYZW0heL9mCdHVHgnUCQMMVv1kUIRSGZCH4gkooLodCJ1/njgxf lMispqr9nqQkaQ8JJ43jl/nqUYN1P/dNdhoZkcH+yS2iGPxRsz3822Pi1ZCV945m XUcJ0Njk4Iqz1op+YGKLPAoL4D8= 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:message-id:subject:from:reply-to:to:date :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=72jIgTHeeSaC65H2Crlge7 pUnmg=; b=h0lkH/5ByX6z6sVkzChVAH0549W0CPJ9tMBtU8bRfbJjJmwOThsU+p pY1VJ/HnXlKhPA4MhyR43taUK1GCQ5IkwFKftXI5VwXUN2Wm8LfUFXI71pg1FXHf qZRmSMW9NaN4tGGBjd/2vsslEG/61pRVL2LJj5ob6DbpAQo0q/y9c= 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=-1.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: outgoing-yousee.gl-mut-gbl.as8677.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tdcadsl.dk; s=sela; t=1570663528; bh=zNCzVc3uk5VmWDDyDD2qzUMZRu2e51NlW7EScGd/aaA=; h=Message-ID:Subject:From:To:Date:In-Reply-To:References: MIME-Version:Content-Type:Content-Transfer-Encoding; b=JKwi9uH+NaHyIB5Iv3yRjvrxwvBOukdiQP9eUhPX82RKc+KBmjz2KbOFjD1918xaA EYR8rS4/FUTkxvsSFWOHJcIUbKvA+bjnmZcGmwLVeEHhO5mnxY+ToKgQvMGoxkXlq4 j5g5z/H8+jvS0h1hen+pq2rOGZ4mutVFAwNlRCi9Didjya09IsuexBdwjBKaOKO+bn PhV9RtaOa6C+7bjv5gd0O2pGcFz/1ebxlWhNEDJhff02kGw4lEQU5sXPlSoFUq2sNO VzeyEjhUWyn/kOy0NuL8RnjM6VMQuDt24ALXZAYTAwaAXokfrFj0zBAsnMt/re/6oM 9wFvHNWstDxyA== Authentication-Results: yousee.as8677.net; auth=pass (LOGIN) smtp.auth=donpedro AT tdcadsl DOT dk Message-ID: <44c967db7f6941282c83a64ab4e966302379043a.camel@tdcadsl.dk> Subject: Re: execvp* and spawnvp* react differently to same PATH environment variable From: "Peter Dons Tychsen via cygwin" Reply-To: Peter Dons Tychsen To: Ken Brown , "cygwin AT cygwin DOT com" Date: Thu, 10 Oct 2019 01:25:27 +0200 In-Reply-To: References: <1549599310 DOT 1980812 DOT 1570481495155 DOT JavaMail DOT zimbra AT tdcadsl DOT dk> User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) MIME-Version: 1.0 X-yse-mailing: LEGIT X-yse-spamcause: OK, (-100)(0000)gggruggvucftvghtrhhoucdtuddrgedufedriedvgddvudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfvffevpdggtfgfpffufgeuufevtffkuefgpdfqfgfvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefkuffhvfffjghftggfggfgsehtjeertddtreejnecuhfhrohhmpefrvghtvghrucffohhnshcuvfihtghhshgvnhcuoeguohhnphgvughrohesthgutggrughslhdrughkqeenucfkphepuddtrddviedrvddviedrudefudenucfrrghrrghmpehhvghlohepmhifuhhmfhdtfedtfedpihhnvghtpedutddrvdeirddvvdeirddufedupdhmrghilhhfrhhomhepughonhhpvggurhhosehtuggtrggushhlrdgukhdprhgtphhtthhopehksghrohifnhestghorhhnvghllhdrvgguuhdprhgtphhtthhopegthihgfihinhestgihghifihhnrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Hi Ken, > I think you're probably right. The use of FE_NNF in execvp* was > introduced in > commit 6d63272b. I suspect it was just an oversight that the spawvp* > functions > weren't changed in the same way. I'll send a patch to the cygwin- > patches list > to fix this. When Corinna returns, she can tell us whether there's > some reason > that spawnvp should be different from execvp. Excellent. Thanks for the fast response. I will keep an eye out for when it lands. Thanks, /pedro -- 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