[vorbis-dev] piping vorbize's stdout/stderr
Monty
xiphmont at xiph.org
Mon Jul 31 11:14:11 PDT 2000
> Hi!
>
> I want to pipe stdout/stderr from vorbize for wrapper scripts. But as it
> doesn't send any "\n"s it doesn't work correctly. I solved it by adding
>
> if (param.verbose == 1) {
> fprintf (stderr, "\n");
> }
That actually isn't guaranteed to work. The proper thing to do is
fflush(stderr).
Monty
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
More information about the Vorbis-dev
mailing list