This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is it possible to run a bash script using cygwin without login to the cygwin's terminal?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]