X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; q=dns; s=default; b=vb PKpOjyQwDHYHLdrRiviAUZEWGkoev+xPRrmS08WvBitzaAn7g6PoGoqPJu1vnjWX 9Qle8/Zz0NCESY62k0WDtkBkBWWjpGkkM9Kuiqtf2lhXlRbpwg7RqPfsVpOf2GWJ Zl0uNWbpVh5lJXcTfvaf9j/s/wCoPGe17mTuRuNBw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; s=default; bh=KPxq5Pji jcK1azE4yqvzhToS3QY=; b=Jim0+he4JqEE4EVdZe5NMiw/1YPutXmgLqmwDGqb Flh1RgKIYdVSjMvZJqgOWMYAX+WGHXRUbwdX+gGmR3Lh4t6bj5lFkjNO5Xvh19re 5aHubfVR3mG/GOW6JS0vUcE5W/epLfkoghA2nVdeErpePpvuvGlUBX6diMHLmn+X tyk= 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 X-Spam-SWARE-Status: No, score=-5.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE autolearn=ham version=3.3.1 MIME-Version: 1.0 X-Received: by 10.224.44.2 with SMTP id y2mr8402619qae.7.1366244306239; Wed, 17 Apr 2013 17:18:26 -0700 (PDT) In-Reply-To: <20130418000637.1880@binki> References: <20130418000637 DOT 1880 AT binki> Date: Wed, 17 Apr 2013 20:18:26 -0400 Message-ID: Subject: Re: ffmpeg From: Earnie Boyd To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 On Wed, Apr 17, 2013 at 11:06 AM, wrote: > > HOW CAN CYGWIN capture W32 Programs WinSTD out as minty and putty do? > > I am use several programs that are native windows compiled, such as > ffmpeg. I am writing a sheel script to get video clip information > provided by ffmpeg, but I can't capture the screen output which > (probably isn't stdout to cygwin), but does display on the minty and > putty consoles. I've tried redirecting both stdout and stderr it to > file. It doesn't work. > > Is there any, method to capture this output, besides writing a windows > batch file that captures it and writes it to a file, which would work, > but is really inefficient. > > Any advice and pointers would be appreciated. Does piping to cat and redirect to file from cat work? foo | cat > bar -- Earnie -- https://sites.google.com/site/earnieboyd -- 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