[MPlayer-dev-eng] [PATCH] run command from osd menu

Sascha Sommer saschasommer at freenet.de
Thu Sep 16 13:27:27 CEST 2004


On Friday 03 September 2004 01:01, Aurelien Jacobs wrote:
> On Thu, 2 Sep 2004 08:59:38 -0500
>
> Joey Parrish <joey at nicewarrior.org> wrote:
> > On Thu, Sep 02, 2004 at 03:27:19PM +0000, Sascha Sommer wrote:
> > > On Friday 27 August 2004 11:37, Aurelien Jacobs wrote:
> > > > This patch allows to use the run command (from the osd menu
> > > > console) also from the menu config file, so that a menu entry
> > > > can call an external program.
> > > >
> > > > Aurel
> > >
> > > Fork and exec are not available on mingw. So please add at least
> > > a #ifndef WIN32 around it
> >
> > or #ifndef MINGW32 or something.  IIRC, WIN32 is defined for
> > cygwin as well, and fork is available there.
>
> Sure you're right. This test was done in the similare code in
> menu_console.c. My fault. Here is the updated patch.
>

Applied a slightly different patch.

Sascha




More information about the MPlayer-dev-eng mailing list