Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

2 Answers 2

up vote 8 down vote accepted

cygstart /bin/bash -li

share|improve this answer

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:

  • zsh: zsh.exe -l
  • bash: bash.exe --login

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".

share|improve this answer
    
I think my version of Cygwin is using bash.exe and I fiddled around with the command you provided and some variations with no luck. Looking into mintty now. Thanks! –  nicorellius Jun 24 '10 at 16:09
2  
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. –  Shane Daniel Feb 28 '12 at 4:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.