CYGWIN=tty round 2
Mon May 23 21:41:00 GMT 2011
Angelo Graziosi wrote:
> /cygdrive/c/WINDOWS/system32/runas.exe /user:pippo 'C:\cygwin-2\bin\bash --login -i'
> works in a dos-like shell (Cygwin.bat) but not in mintty. Is there some trick to do the job also in mintty?
I'm not completely sure about what you are trying to do, but this works for me to get a shell running under the proper user:
$ cat bldmgr.bat
runas /user:proddev\bldmgr "c:\cygwin\bin\mintty.exe -"
More information about the Cygwin