From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11086 invoked by alias); 11 Feb 2002 10:13:54 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Received: (qmail 10997 invoked from network); 11 Feb 2002 10:13:52 -0000 Received: from unknown (HELO mail6.microsoft.com) (131.107.3.126) by sources.redhat.com with SMTP; 11 Feb 2002 10:13:52 -0000 Received: from inet-vrs-06.redmond.corp.microsoft.com ([157.54.6.201]) by mail6.microsoft.com with Microsoft SMTPSVC(5.0.2195.4617); Mon, 11 Feb 2002 02:13:29 -0800 Received: from 157.54.8.109 by inet-vrs-06.redmond.corp.microsoft.com (InterScan E-Mail VirusWall NT); Mon, 11 Feb 2002 02:13:51 -0800 Received: from red-msg-01.redmond.corp.microsoft.com ([157.54.12.68]) by inet-hub-02.redmond.corp.microsoft.com with Microsoft SMTPSVC(5.0.2195.2966); Mon, 11 Feb 2002 02:13:29 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: a problem with search path? (was: Multiple backslashes) Date: Mon, 11 Feb 2002 02:13:00 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: a problem with search path? (was: Multiple backslashes) Thread-Index: AcGy34F6tCUtf6w3Rf6dzs/96VSaGgABNLRg From: "Stephan Mueller" To: "Dmitry Bely" , X-OriginalArrivalTime: 11 Feb 2002 10:13:29.0570 (UTC) FILETIME=[C08AE420:01C1B2E4] X-SW-Source: 2002-02/txt/msg00527.txt.bz2 For me, these just worked: >From a bash shell: [~] bash -c "d:\\\\cygwin\\\\bin\\\\ls.exe" >From cmd.exe [D:\] bash -c "d:\\cygwin\\bin\\ls.exe" My CYGWIN variable includes glob:ignorecase stephan(); -----Original Message----- From: Dmitry Bely [mailto:dbely@mail.ru]=20 Sent: Monday, February 11, 2002 1:31 AM To: cygwin@cygwin.com Subject: a problem with search path? (was: Multiple backslashes) Randall R Schulz writes: > I'm trying to help you, but you seem insistent on just declaring > Cygwin buggy. It is not and it is possible for you to resolve the > problem. I gave you all the information you need to do so. >=20 > One last time, I'll answer your points... Randall, of course it's up to you whether to answer or not. Nonetheless, thank you for your comments. For everyone else, I don't claim that cygwin is buggy (although it might be the case). I just trying to understand what's going on and how to solve my very problems. Randall's advice to add CYGWIN=3Dnoglob _partially_ solves them (yes, really, it makes 2 BS sufficient then 'bash -c "ls c:\\"' is called via syscall CreateProcess()). But: How to write the following command with _backslashes_ to make it work? Suppose we launch it from bash: bash-2.05$ bash -c "ls c:\\\\cygwin\\\\bin\\\\ls.exe" c:\cygwin\bin\ls.exe bash-2.05$ bash -c "c:\\\\cygwin\\\\bin\\\\ls.exe" bash: c:\cygwin\bin\ls.exe: command not found bash-2.05$ CYGWIN=3Dnoglob does _not_ help. How many backslahes should I put there? But please check that it _really_ works before answering. Hope to hear from you soon, Dmitry -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/