[MPlayer-users] Invoking mplayer from a C program using linux system()
Julián Nuñez
julian at proteger.org.ar
Sun Feb 11 01:29:27 CET 2007
On 2/9/07, Anna Klein <aklein at bluenotenetworks.com> wrote:
> Hi mplayer users,
>
> I've written a C program, running on linux, to invoke mplayer to play an
> audio stream from the Internet, by using the system() call. Is there
> anyway to get a return status from mplayer?
>
I think you are better off running mplayer with the execcl() family of
functions and parsing output to find out about errors.
--
"No man should leave in the universe anything of which he is afraid of"
- The Man Who Was Thursday by G.K Chesterton (Deus Ex).
More information about the MPlayer-users
mailing list