delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/04/21/08:00:07

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <F1932D194B56D111965A00805F85190F01D38892@caucase.grenoble.xrce.xerox.com>
From: "Berche, Guillaume" <Guillaume DOT Berche AT mkms DOT xerox DOT com>
To: "'earnie_boyd AT yahoo DOT com'" <earnie_boyd AT yahoo DOT com>,
"'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: Cygwin 1.0: Error when launching MSDOS bat file from bash on
Windows 2000
Date: Fri, 21 Apr 2000 14:59:18 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

Earnie,

> > 
> > Well, the mechanism is working fine with NT 4.0 but on 
> Windows 2000 it fails
> > (or it might be related to some other configuration params 
> I missed ?!) If
> > anybody have an idea of how to correct this I am very interested!
> > 
> 
> Actually, it fails on NT4 as well.
> 

Well my description was incorrect actually (the steps I gave are broken because of a copy/paste error); the following steps work on NT4 as shown below ( I had forgotten the . at the beginning of the commands i.e test1/test2/run.bat does not work whereas ./test1/test2/run.bat would)

> cd /
> mkdir -p test1/test2
> cat > test1/test2/run.bat
REM start of MSDOS test
PAUSE
REM end of  MSDOS test
^C
> 
> ./test1/test2/run.bat
C:\>REM start of MSDOS test

C:\>PAUSE
Press any key to continue . . .

C:\>REM end of  MSDOS test

> cd test1
> ./test2/run.bat
C:\test1>REM start of MSDOS test

C:\test1>PAUSE
Press any key to continue . . .

C:\test1>REM end of  MSDOS test

> 
> cd test2
> ./run.bat

> 
> Yep.  I just tried your test and your assumption would have 
> to be correct.  I
> agree with your bug report.  Would you care to submit a patch?
> 

I wish I could. However, I am afraid I'm missing skills to be able to find out the source of the problem and a solution to it. Anibody around that has a good grasp on the code and could spot out the problem?

Guillaume.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019