delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/07/14:40:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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: <5.1.0.14.2.20021107113518.02c52c50@pop3.cris.com>
X-Sender: rrschulz AT pop3 DOT cris DOT com
Date: Thu, 07 Nov 2002 11:40:54 -0800
To: "Jens Schmidt" <schmidt DOT jens AT gmx DOT de>, <cygwin AT cygwin DOT com>
From: Randall R Schulz <rrschulz AT cris DOT com>
Subject: Re: Cygwin seems to replace standard shell cmd.exe
In-Reply-To: <BJEOJOCAGGFKOIFBPEIJCEHMCAAA.schmidt.jens@gmx.de>
Mime-Version: 1.0

Jens,

This is just a hunch, but...

It sounds as if Borland make and ActiveState Perl are trying to adaptive 
about which command interpreter they use and now that Cygwin is on your 
system, they're finding Cygwin's /bin/sh (not BASH but ash, by the way) 
before they find CMD.exe.

Look at your system's PATH variable and see if it includes your Cygwin bin 
directory (in it's Windows form, perhaps something like "C:\cygwin\bin") 
and if it's there, move it after "C:\WINNT\system32".

You might also want to look at the documentation for the errant programs to 
see if they're configurable in such a way to avoid this pitfall.

Randall Schulz
Mountain View, CA USA


At 11:18 2002-11-07, Jens Schmidt wrote:
>Hello,
>
>after installing cygwin I run into the following problem:
>
>All shell commands executed by programs, e.g.
>
>an "echo ************" executed from Borland make or an "open(F_LIST,"dir 
>$ARGV[0]  /s /b|");" executed from a Perl script (Activestate)
>
>aren't executed by cmd.exe any more but by bash. The Problem is that bash 
>don't know the commands listed above or behaves in a different way than 
>cmd.exe. It's possible to set a cmd /C for every command, but I have a lot 
>of this stuff and like to use always cmd.exe.
>
>Does somebody know how to disable this redirection to bash ?
>
>Thanks.
>Jens
>
>P.S.
>comspec is set correct.


--
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/

- Raw text -


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