C
cold.phusion
Hi folks,
I am trying to create a program that would excute an external process
(in my case mplayer) with Runtime.exec() at a given time. Then after a
certain, not constant, period the external process should be stopped
and the program should be back at the start position.
By far, mplayer gets started and killed on time. The problem is that a
dump file should be created after each run of mplayer, but it's not.
The process is loaded in the memory and apparently waits for something
to finish. When I manually terminate the java thread, without killing
the "mplayer" process, mplayer finally starts to dump.
Does anyone have an idea how can I get it to work?
Cheers,
coldphusion
I am trying to create a program that would excute an external process
(in my case mplayer) with Runtime.exec() at a given time. Then after a
certain, not constant, period the external process should be stopped
and the program should be back at the start position.
By far, mplayer gets started and killed on time. The problem is that a
dump file should be created after each run of mplayer, but it's not.
The process is loaded in the memory and apparently waits for something
to finish. When I manually terminate the java thread, without killing
the "mplayer" process, mplayer finally starts to dump.
Does anyone have an idea how can I get it to work?
Cheers,
coldphusion