On Sun, 08 Dec 2013, John Rose wrote:
> I want  to be able to stop a CLI program (started by an Exec statement) 
> as though the user was keying in a special character from the keyboard. 
> Specifically, I want to stop ffmpeg recording to disk when grabbing 
> streaming video using x11grab. The recording is stopped by the user 
> entering q if the program is started by entering ffmpeg (followed by its 
> parameters) in a Terminal. How is this done in Gambas3?
> 

I guess you can

Print #hFfmpeg, "q"

if you opened it For Output... However, in my project, I simply use
hFfmpeg.Kill() without losing any information.

Regards,
Tobi

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to