Proposal for new cygwin.bat which is independent from install directory

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Aug 30 14:41:00 GMT 2016


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20160830/d5fc3492/attachment.sig>


More information about the Cygwin mailing list