Is this Python?

Use the subprocess method. Not system()

This is not an ivtv question.


On Thu, 2006-11-02 at 09:35 -0500, Jerry Geis wrote:
> I have a program running that within the program
> I run system("cat /dev/video | mplayer -noconsolecontrols -fs - &");
> to start playing the TV.
> 
> Then when I want to stop the TV I issue
> system("killall mplayer");
> 
> Thinking at this point I would get the normal screen back.
> I do not I get a black screen. I have to do CTL_ALT_F1 to switch
> to text and the CTL_ALT_F7 to switch back. then
> everything is normal on the screen.
> 
> Is there a better way to do this? so the screen is not messed up.
> 
> Thanks,
> 
> Jerry
> 
> _______________________________________________
> ivtv-users mailing list
> [email protected]
> http://ivtvdriver.org/mailman/listinfo/ivtv-users

_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to