This is the mail archive of the
cygwin
mailing list for the Cygwin project.
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