HI cygwin 1.7.7(0.230/5/3) this issue is related to another issue reported on the list about gitk and the fact that running 'gitk --all &' will have the xterm closed
in fact I noticed that right before the xterm close the string 'exit' is printed on the command line I managed to avoid this issue by doing gitk 0>&- 1>&- 2>&- in another program I spawn a ssh.exe with stderr, stdin, stdout redirected to pipes, and for some strange reason the 'Password:' string is still displayed on the terminal and isn't read from the pipes..... it looks like cygwin as issue with inherited filedescriptor and by some way a child can still access the parent filedescriptors.... even if the child is in background thanks and regards JLM -- KISS! (Keep It Simple, Stupid!) (garde le simple, imbécile!) "mais qu'est-ce que tu m'as pondu comme usine à gaz? fait des choses simples et qui marchent, espèce d'imbécile!" ----------------------------- "Si vous pensez que vous êtes trop petit pour changer quoique ce soit, essayez donc de dormir avec un moustique dans votre chambre." Betty Reese http://www.grainesdechangement.com/citations.htm -- 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