X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: <20100208073134 DOT GA11896 AT ednor DOT casa DOT cgf DOT cx> Date: Mon, 8 Feb 2010 14:05:07 +0100 Message-ID: <1ef5a52f1002080505w23b55f2v1d572f72c584eecc@mail.gmail.com> Subject: Re: Is it possible to run a bash script using cygwin without login to the cygwin's terminal? From: Csaba Raduly To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 8, 2010 at 1:41 PM, Hongyi Zhao <> wrote: > What's the differences between the following two invoking methods: > > c:\cygwin\bin\bash script > > and > > c:\cygwin\bin\bash --login script This will run your .bash_profile (or .bash_login, or .profile) and set up any paths and aliases you may have defined. The other one, without --login, will not. -- Life is complex, with real and imaginary parts -- 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