delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/08/17:21:49

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 <schulman DOT andrew AT epamail DOT epa DOT gov>
Subject: Re: 1.7.10: ipconfig opens a new console
Date: Wed, 08 Feb 2012 17:21:09 -0500
Lines: 32
Message-ID: <bgs5j710hq83rudp80au8g3ubss78jbcbr@4ax.com>
References: <q2f5j7d5i3i554k93cu2qfj4duhm4kec6u AT 4ax DOT com> <jguj62$3m1$1 AT dough DOT gmane DOT org> <CAG_2cTn_EDcukPGTtXr9WcHDS_s999itK9mOhFnf6+V6XXxkNw AT mail DOT gmail DOT com>
Mime-Version: 1.0
X-Archive: encrypt
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019