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: Windows7 broke DRIVELETTER:/path on cmdline of non-cygwin exe (really tty issue?)


Corinna Vinschen wrote:

> On Apr  6 10:27, raf wrote:
> > Corinna Vinschen wrote:
> > 
> > > On Apr  4 13:42, raf wrote:
> > > > I think it has more to do with the change in terminal handling.
> > > > The password prompting is no longer working (even in mintty).
> > > > The lack of debug output was just buffering.
> > > 
> > > The problem is that native Windows CLI applications usually don't
> > > work interactively with Cygwin's pseudo ttys as stdio descriptors.
> > 
> > The application in question is python.exe using its getpass module.
> > 
> > > > The users can run the programme from cmd.exe so I'll set up
> > > > some .bat scripts for them instead of bash functions if I
> > > > can't easily get it working from within cygwin.
> > > 
> > > You can use the still existing Cygwin.bat script from Cygwin's root
> > > directory to start a Cygwin bash in a Windows console window.  The
> > > password prompting will still work there.
> > 
> > I thought that's what I was doing when clicking on the cygwin shortcut on
> > the desktop. If that had worked I wouldn't have come asking for help here. :-)
> 
> Since a while the shortcut on the desktop starts mintty, not a Windows
> console.
> 
> Corinna

Thanks Corinna. Using cygwin.bat works perfectly for this.

Cheers,
raf


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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