I am using subprocess to check output of zbarcam from video device
Here's my code:
>>> import subprocess
>>> subprocess.check_output(["zbarcam","/dev/video1"])
Zbarcam initiates a window on which I can check the video, the problem is it keeps running even if it has read the code, and I have to manually shut this window before it outputs anything to the python shell.