2008/11/10 Dusan Halicky <[EMAIL PROTECTED]>: > Following code works in linux, but not in windows. In windows program > freeze, or I don't see mplayer. Thanks. > > program bug; > > {$mode objfpc}{$H+} > > uses > Classes, SysUtils, Process; > > begin > with TProcess.Create(nil) do > try > //Options := []; // this work on both Windows and Linux > Options := [poUsePipes]; // this doesn't work in Windows but works in > Linux > CommandLine := 'mplayer -slave -quiet final.avi';
is there an mplayer.exe in a directory on the path (or windows directory)? henry _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal