X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <1M3srY-208Trs0@fwd06.aul.t-online.de> References: <64de84830905120629h1f07770ak9b91915c41f868ec AT mail DOT gmail DOT com> <1M3srY-208Trs0 AT fwd06 DOT aul DOT t-online DOT de> Date: Tue, 12 May 2009 13:53:37 -0300 Message-ID: <64de84830905120953g4d02f37fmf33f164f6aa27041@mail.gmail.com> Subject: Re: WMIC From: Bruno Galindro da Costa To: Christian Franke Cc: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Christian, It Works perfectly for both! Can you explain why that commands works and not only "wmic cpu list full"? Thank you very much! 2009/5/12 Christian Franke : > Bruno Galindro da Costa wrote: >> >> =A0 =A0I=B4m trying to run the WMIC (WMI Command-line interface) via Cyg= win >> to parse the results with grep, awk, etc. But, when I try to run it, >> the cursor indicates that the command is executing, but nothing is >> printed on screen and the cursor is not released. >> =A0 =A0I maked a batch script (.cmd) which executes the WMIC and log the >> output into a log file. Then, I tried to call it with Cygwin, but the >> same behaviour happens. >> >> The command I want to execute is: >> >> "WMIC CPU LIST FULL" >> >> Anyone can help me to resolve the above problem? >> > > The following works for me in Cygwin console (notty, tty, and mintty) on > XP: > > $ echo '' | wmic cpu list full > > or > > $ wmic cpu list full > > -- > Christian Franke > > > > > -- > Unsubscribe info: =A0 =A0 =A0http://cygwin.com/ml/#unsubscribe-simple > Problem reports: =A0 =A0 =A0 http://cygwin.com/problems.html > Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html > FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/ > > --=20 Att. Bruno Galindro da Costa bruno DOT galindro AT gmail DOT com Florian=F3polis - SC -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/