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: Proposal for new cygwin.bat which is independent from install directory


On Aug 27 19:12, Andrey Repin wrote:
> Greetings, Christian Franke!
> 
> > Andrey Repin wrote:
> >> ...
> >> Why so complicated?
> >>
> >> @START "" /B "%~dp0bin\mintty.exe" -
> >>
> >> Done.
> 
> > Possibly not. This does not run bash in current console. It starts a new 
> > mintty Window.
> 
> Who in their right mind would want a bogus native console?
> You? Ok, you can change it to
> 
>     "%~dp0bin\bash.exe" --login -i
> 
> if you so desire.

The Cygwin.bat script is specificially for this task, running a Cygwin
shell from the console.  This is still desired in some scenarios,
especially when mixing Cygwin and native tools sometimes, this is why
we never removed it.  If you want to run mintty, just use the shortcut
already created by setup.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: signature.asc
Description: PGP signature


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