delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/02/08/02:31:55

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 8 Feb 2010 02:31:34 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Is it possible to run a bash script using cygwin without login to the cygwin's terminal?
Message-ID: <20100208073134.GA11896@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <e3dvm5hoj82p8k0c5c3eo62u2b8ctc0qgm AT 4ax DOT com>
MIME-Version: 1.0
In-Reply-To: <e3dvm5hoj82p8k0c5c3eo62u2b8ctc0qgm@4ax.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
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

On Mon, Feb 08, 2010 at 02:56:34PM +0800, Hongyi Zhao wrote:
>Hi all,
>
>Is it possible to run a bash script using cygwin without login to the
>cygwin's terminal?  For example, in order to run the script, just
>double click on it.

Yes:

c:\cygwin\bin\bash script

You'll probably want to add cygwin's bin directory to your system
PATH though via Control Panel->System->Advanced

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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