www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 |
X-Spam-Check-By: | sourceware.org |
Date: | Sun, 4 Jan 2009 12:07:31 +0100 |
From: | Spiro Trikaliotis <an-cygwin AT spiro DOT trikaliotis DOT net> |
To: | cygwin AT cygwin DOT com |
Message-ID: | <20090104110730.GH4017@trikaliotis.net> |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <r531m49nvsu311asr3g18jk74m5l104lch AT 4ax DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <r531m49nvsu311asr3g18jk74m5l104lch@4ax.com> |
User-Agent: | Mutt/1.5.17+20080114 (2008-01-14) |
X-SA-Exim-Connect-IP: | 87.163.252.248 |
X-SA-Exim-Mail-From: | an-cygwin AT spiro DOT trikaliotis DOT net |
Subject: | Re: Trick cmd.exe of Windows XP to run cygwin Batch Script. |
X-SA-Exim-Version: | 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000) |
X-SA-Exim-Scanned: | Yes (on mail.trikaliotis.net) |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
Hello, * On Sun, Jan 04, 2009 at 06:20:20PM +0800 Hongyi Zhao wrote: > I've some cygwin/bash scripts and I want to invoke them without log > into the Cygwin's bash terminal. Is this possible? d:\> bash -c ./myscript Note that you might have to add the path to bash (c:\cygwin\bin\bash or similar) in case it is not in your path. Also, you might want/need to add --login or -l to the options of bash. HTH, Spiro. -- Spiro R. Trikaliotis http://opencbm.sf.net/ http://www.trikaliotis.net/ http://www.viceteam.org/ -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |