This is the mail archive of the
cygwin
mailing list for the Cygwin project.
issue with inherited handle (ssh.exe, gitk)
- From: jean-luc malet <jeanluc dot malet at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 28 Oct 2010 20:11:40 +0200
- Subject: issue with inherited handle (ssh.exe, gitk)
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