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

Aurelien Jacobs aurel at gnuage.org
Fri Sep 3 03:01:17 CEST 2004


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.

Aurel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-MPlayer-run
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040903/44a08961/attachment.asc>


More information about the MPlayer-dev-eng mailing list