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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=ZtLvaHsQutTQKLI8 /Ga0a9pPe6b+C3kToiGyHxNB+4JZsXlcrXUYdqT3F/2r673qiud4dNdhdvgeDl7r FTYJJXgF+0CBYn6rQK+eBWUl6kY1+1royTzyyLQgB2gNPGszW4dEIL2e2nsZj26a vRVkiu8C4yLsGWBPQDle6LVWG38= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=ToFUsBRoqqk8VwedvX9BgI Jo8T0=; b=d1ZA8puMee+y/VIGYqC/4F4VVYvKzDJ0q1281OuDWnrpXofMvHUs4U xnymseKAQt9+o0GKHDeGoBzY2KbGVdATqC8GOfVxKHkpVD23xuIqbIEMBs84IjTJ moWPcYfKx98d+e3VrNva9zcHPTg7fTs/DODfeHN01mZWgVc3nJM/8= 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-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*M:gmx, dilkie, Dilkie, H*i:sk:c9135e5 X-HELO: mout.gmx.net Subject: Re: cygpath -w and .exe magic To: cygwin AT cygwin DOT com References: <0D835E9B9CD07F40A48423F80D3B5A704BB92639 AT USA7109MB022 DOT na DOT xerox DOT net> From: Herbert Stocker Message-ID: <57C04920.1040500@gmx.de> Date: Fri, 26 Aug 2016 15:50:24 +0200 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-UI-Out-Filterresults: notjunk:1;V01:K0:hZcc83tS+tw=:E7H4IfrOqlEH9JYsQ0f1Z1 XX/PcE7dPVwID0lGyiGqyz/QrQjGXKb3XTxK2TH5i5uKX7e+Wq2muEi4KlHVfxA5GYGaNYUT7 SjpXZ8FYyq7TSngn/E82Fa2739PrdGRd8TucyD3MYC7DUkEtWCioql74PV2qribCyAGSsYuC5 zR9cebam1rGE4BvpSzFReqD/wwbJum9vcY+KG+2tlUvRaOIGlZaZelN66eCkbH13RDm2Ygh1a 0lx+Tdtzbu1CK4MsbWiin0eTl6EX4kueWbh5bsnc+AwP2Rnx89RIqimNd/4IkFWNzaTU9c7JP CuFJuA7p+v1A6rFU1WpEb2H+UypjoRcMiknGc95G2NeQLf5rdEcOVBpkhMcZExiT3bSgkiDct JYdsnEtvkdfzGo47Qz3zVXM5aFV9CM2t6UvL1a0LYWnTc5hBXz7wf33aEcmN6BO0/E38Xk4sV h4TY8JWp3riTRGASEWaQi5aPz2QY1HVLz/Qgbgh898lahcoP7ptz7CRNY6ph4zSD0Zi9nBsm0 UFLv2SGlC+gru1lhIM/fG+dYtpZOLCzhRrn9qdkJH75uWfNYEAUgHdAgpIlIzLDjvMRjLyOe6 Kynumhk2UqL6YlmL8Xw6ZBfiTNK4A1KHMuMKiff1lx00fyRLR3dm2PKtq+L6Q6Qs10cxh1pZ+ iSByach79TXJddWSndBWUU9UgQKTlEhLzXNfX0zjWsbt/04cdbe2iyCskp1zZtnoZ96Adl6pq 7rRazkA8CG5IRA4WAITV7a1XLqE1o6O8cUGAsQ/aitg6EcKEdPTLsSDk/vbpVzNOVrSdingQM T0S1lZY X-IsSubscribed: yes On 26.08.2016 15:19, Lee Dilkie wrote: > > > On 8/26/2016 9:08 AM, Nellis, Kenneth wrote: >> Dear Cygwin Community, >> >> $ ls -l >> total 60 >> -rwxr-x--- 1 knellis Domain Users 60927 Aug 26 08:57 hello.exe >> $ ./hello >> Hello, world! >> $ cygpath -w hello >> hello >> $ >> >> The purpose of cygpath -w, it seems to me, is to provide >> to Windows a valid path given a Posix path. >> >> Given executable file foo.exe, which Cygwin allows to be >> referenced simply as foo, should not: cygpath -w foo >> return: foo.exe >> instead of: foo >> ? >> >> Passing foo to a Windows application will certainly >> be a problem. I recognize this might be considered a >> change of scope for the program, but I think the tool >> should do the .exe magic rather than pass off this >> responsibility to the user. Food for thought. > > and break everyone who has existing code to take care of this? If it is done, it should be done as an additional option, i'd say. Herbert > > -- > 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 > -- 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