delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/02/08/07:42:25

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=BAYES_00,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Hongyi Zhao <hongyi DOT zhao AT gmail DOT com>
Subject: Re: Is it possible to run a bash script using cygwin without login to the cygwin's terminal?
Date: Mon, 08 Feb 2010 20:41:53 +0800
Lines: 16
Message-ID: <lh10n59u02hi0f6mp7a64keqob89eo22p0@4ax.com>
References: <e3dvm5hoj82p8k0c5c3eo62u2b8ctc0qgm AT 4ax DOT com> <20100208073134 DOT GA11896 AT ednor DOT casa DOT cgf DOT cx>
Mime-Version: 1.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

On Mon, 8 Feb 2010 02:31:34 -0500, Christopher Faylor
<cgf-use-the-mailinglist-please AT cygwin DOT com> wrote:

>c:\cygwin\bin\bash script

What's the differences between the following two invoking methods:

c:\cygwin\bin\bash script

and

c:\cygwin\bin\bash --login script

Regards.
-- 
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.


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