I can't figure out how to launch a new Cygwin session from within Cygwin, similar to launching a new terminal from within bash with:
gnome-terminal
It's probably easy but I am missing something. Any ideas?
cygstart /bin/bash -li
cygstart mintty /bin/bash -il
Dec 13, 2016 at 0:38
Press 'Alt-F2' if you only want to open another terminal(mintty) in mintty, not from within a script. See 'man mintty' for other keyboard shortcut.
cygstart /bin/bash -li
opens a new terminal window, but doesn't have the same settings.
Dec 8, 2016 at 17:09
if you use the "default" cygwin console (aka cmd.exe) then:
cmd /c start /d "C:\cygwin\bin" SHELL.EXE PARAMS
and then replace SHELL.EXE and PARAMS by what you use:
i would advise you to use a better console like 'mintty' or 'rxvt', which you launch just by typing "mintty" (or pressing f2) or "rxvt".
bash.exe
and I fiddled around with the command you provided and some variations with no luck. Looking into mintty now. Thanks!
Jun 24, 2010 at 16:09
mintty
from within an existing Cygwin terminal will start a new window, yes, but also lock up the existing terminal. Start it as a background process with mintty &
to continue using the original terminal and have a new one.
Feb 28, 2012 at 4:35
In order to load also my .bash_profile
, I've created an alias in my .bashrc
with the following command :
alias mintty='mintty.exe -i /Cygwin-Terminal.ico - &'