X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,TW_RX,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Andrew Schulman Subject: Re: 1.7.10: ipconfig opens a new console Date: Wed, 08 Feb 2012 17:21:09 -0500 Lines: 32 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Archive: encrypt X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com > On Wed, Feb 8, 2012 at 2:41 PM, René Berber wrote: > > On 2/8/2012 12:25 PM, Andrew Schulman wrote: > > > >> It used to be that when I ran ipconfig from bash, it would print > >> output on stdout as usual.  But for some time now, when I run > >> ipconfig it opens a new console window, which then immediately > >> closes again, making it impossible for me to read the output.  At the > >> same time, back in bash I see > >> > >> $ ipconfig 15 [main] bash 3060! _pinfo::dup_proc_pipe: something > >> failed for pid 0: res 3060, hProcess 0x68C, wr_proc_pipe 0x738 vs. > >> 0x738, Win32 error 5 > >> > >> My terminal is PuTTYcyg if that matters, although I get the same > >> result in mintty.  uname -r confirms that I'm really running 1.7.10 > >> this time. > > > > It works fine under mintty, and rxvt on Windows XP.  It doesn't open a > > new console. > > > > Perhaps you have a different ipconfig than the one that comes with > > Windows... I don't know if Vista and 7 have a different one that doesn't > > work in a terminal. > > -- > > Works fine for me (running Windows 7). OK. Must be something odd about my environment then. My host is WinXP. Good idea about having a different ipconfig, but mine appears to be the usual system one: $ type ipconfig ipconfig is hashed (/win/c/WINDOWS/System32/ipconfig) -- 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