[MPlayer-dev-eng] execl() command error

Kevron Rees kev000 at email.com
Sun Aug 27 00:35:44 CEST 2006


Hey guys,

I'm another one of those peeps building a c++ program that spawns mplayer.  Everything is working okay so far except when i try the command: 

execl("/usr/local/bin/mplayer", "-quiet", "-slave", "cdda://1", NULL);

mplayer responds with:

Playing cdda://1.
File not found: '1'
Failed to open cdda://1.

Exiting... (End of file)

when I use:

system("mplayer -quiet -slave cdda://1");

it works perfectly.  What am I doing wrong?  Any help would be appretiated. :) :)

-Kev

-- 
___________________________________________________
Play 100s of games for FREE! http://games.mail.com/




More information about the MPlayer-dev-eng mailing list