Re: Python script + v4lctl

2008-10-20 Thread Gabriel Genellina
En Mon, 20 Oct 2008 06:15:34 -0200, Gatis <[EMAIL PROTECTED]> escribió: I wrote script that in case of some event takes picture using usb webcam [Creative Live! Cam Vista IM (VF0420)] and command line utility v4lctl (from package xawtv). Problem1: To catch error and info messages from script I u

Python script + v4lctl

2008-10-20 Thread Gatis
Hello! Intro: I wrote script that in case of some event takes picture using usb webcam [Creative Live! Cam Vista IM (VF0420)] and command line utility v4lctl (from package xawtv). Problem1: To catch error and info messages from script I used: sys.stdout = open('/tmp/log','a') sys.stderr=sys.stdout