This is the mail archive of the
mailing list for the Cygwin project.
- From: Earnie Boyd <earnie at users dot sourceforge dot net>
- To: cygwin at cygwin dot com
- Date: Wed, 17 Apr 2013 20:18:26 -0400
- Subject: Re: ffmpeg
- References: <20130418000637 dot 1880 at binki>
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
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple