X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: <7231C15EAC2F164CA6DC326D97493C8B02F8FE34 AT exchange35 DOT fed DOT cclrc DOT ac DOT uk> <20070409145533 DOT GA8977 AT ednor DOT casa DOT cgf DOT cx> <7231C15EAC2F164CA6DC326D97493C8B02F8FE3E AT exchange35 DOT fed DOT cclrc DOT ac DOT uk> <461AAA69 DOT 70322D19 AT dessent DOT net> <7231C15EAC2F164CA6DC326D97493C8B02F8FE44 AT exchange35 DOT fed DOT cclrc DOT ac DOT uk> Subject: RE: Suggestion for run (with patch) Date: Tue, 10 Apr 2007 15:40:10 +0100 Message-ID: <003901c77b7e$2428d520$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On 10 April 2007 15:30, Robert Pendell wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Adye, TJ (Tim) wrote: >> Brian Dessent wrote on 09 April 2007 22:05: >>> If you really want a compromise solution, you could modify >>> run to not depend on cygwin1.dll at link-time but instead >>> LoadLibrary() it at runtime, and if that fails fall back to >>> whatever the native version would have done. Thus you get a >> That's a nice idea, but I suspect it would indeed cause more confusion >> than any gain - especially when we're only talking about a 50k >> executable. Imagine the program silently behaving differently if you >> change the PATH. A nice "cygwin1.dll was not found" error message is >> usually preferable :-) >> >> I hope that a separately-named (small) executable, perhaps installed >> elsewhere, will be acceptable. > I actually agree with cgf on this one but just an idea here. If that > kind of function was implemented then a warning could be placed to say > something to the effect of... > > WARNING: cygwin1.dll was not found in the path. Using native windows > paths instead. Or just "alias run-native='cmd /c start /b '". Seriously, without unix-style path conversion, what else of any substance is left for run-native to actually *do*? I'm convinced this whole idea is the wrong over-engineered solution to an elementary non-problem. An alias or script is a far better fit to the requirements. cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/