delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/23/04:26:05

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <006d01c0e363$23f80c60$520010ac@gerland2.cirec.com>
From: "Pierre Loic Herve" <pierloic AT free DOT fr>
To: <cygwin AT cygwin DOT com>
References: <5 DOT 0 DOT 2 DOT 1 DOT 0 DOT 20010523175752 DOT 03114e38 AT mail DOT netspace DOT net DOT au>
Subject: Re: Running shell scripts from Win NT (Ant)
Date: Wed, 23 May 2001 10:34:11 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-OriginalArrivalTime: 23 May 2001 08:31:04.0234 (UTC) FILETIME=[B49508A0:01C0E362]

Hi,

> To test that I can just run bash and a command on the command line I
tried:
>
> C:\>bash echo 'hello'
> echo: /usr/bin/echo: No such file or directory

Your example runs by doing it this way :

C:\>bash -c 'echo hello'
hello

C:\>

BUT why don't you launch your shell progs from a bash shell ? (cygwin
provides such a shell) :
//c/SourcesCVS> echo hello
hello
//c/SourcesCVS>

Bye.
--
Pierre Loic Herve



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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