Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-Id: <200406240214.i5O2EpLK000709@fs.nerv.org> From: Kazushi (Jam) Marukawa Date: Wed, 23 Jun 2004 21:14:51 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit To: cygwin AT cygwin DOT com Subject: 1.5.10-3 PATH environment problem Hi, I think I found a reproduceable problem in PATH environment variable, so I'm reporting it to here. Problem description: If an original MS-DOS PATH environment variable has something like '"C:\Program Files\Test"', this part of PATH variable is not converted under Cygwin environment. However, this part in wrongly converted back when I called MS-DOS program. As a result, I cannot use _spawnXX functions correctly from my program under Cygwin environemnt if original PATH environment variable contains '"'. For example, Original PATH: PATH=C:\WIDNOWS;"G:\testdir" Cygwin PATH: PATH=/usr/local/bin:....:/cygdrive/c/WINDOWS:"G:\testdir" PATH for a program executed from Cygwin: PATH=C:\cygwin\usr\local\bin;...;c:\WINDOWS;"G;C:\testdir" Remedy: Remove all '"' from original MS-DOS/Windows PATH environment variable. Regards, -- Kazushi -- 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/