[MPlayer-dev-eng] Hangs when calling mplayer by using java(getruntime.exec())

Jan Knutar jknutar at nic.fi
Thu Mar 2 16:12:58 CET 2006


On Thursday 02 March 2006 16:59, Shinye Shinye wrote:
> I am using this kind of java code.
> 
> Process proc = Runtime.getRuntime.exec("mplayer a.wmv");

" Because some native platforms only provide limited buffer size
 for standard input and output streams, failure to promptly write
 the input stream or read the output stream of the subprocess
 may cause the subprocess to block, and even deadlock."

>From Java API docs.




More information about the MPlayer-dev-eng mailing list