[vlc-devel] How to use vlc_execve() ?

Pierre-Hugues PERET pype at gameflux.com
Sun Sep 25 21:16:13 CEST 2005


Hello !
Again, another problem : i want to launch an external file (non video) from 
vlc. I ended up on the execve() function which is what i seem to need.
But i don't know how to use it , the standard use is execve(filename, argv, 
envp) , the corresponding function in vlc is
vlc_execve( 
<http://developers.videolan.org/vlc/vlc/doc/doxygen/html/structvlc__object__t.html>vlc_object_t 
*  p_object,
<http://developers.videolan.org/vlc/vlc/doc/doxygen/html/ffmpeg_8h.html#a73>int 
i_argc,
char **  pp_argv,
char **  pp_env,
char *  psz_cwd,
char *  p_in,
<http://developers.videolan.org/vlc/vlc/doc/doxygen/html/ffmpeg_8h.html#a73>int 
i_in,
char **  pp_data,
<http://developers.videolan.org/vlc/vlc/doc/doxygen/html/ffmpeg_8h.html#a73>int 
*  pi_data
)

if i want to launch my browser with www.videolan.org adress, what is the 
correct call to the vlc_execve function ?

thanks,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20050925/17bd69ba/attachment.html>


More information about the vlc-devel mailing list