delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/16/10:33:38

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
Subject: Re: Calling Cygwin to start a shellscript
Date: Sat, 16 May 2009 16:33:13 +0200
Lines: 9
Message-ID: <gumir8$vld$1@ger.gmane.org>
References: <gukn6n$afs$1 AT ger DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: MicroPlanet-Gravity/2.80.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

* Thomas Wiedmann (Fri, 15 May 2009 23:35:18 +0200)
> How can a shellscript be called from the Windows cmd console using
> Cygwin, i. e. by which command, options and arguments has Cygwin to be
> called to run a shellscript, e. g. myscript.sh?

Your question is really not Cygwin specific. Anyway: the syntax is...
    <your_shell> myscript.sh

Thorsten


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

- Raw text -


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