diff --git a/screenless/bureau/photography/photography.py b/screenless/bureau/photography/photography.py index 96ca01a..7fbd58a 100644 --- a/screenless/bureau/photography/photography.py +++ b/screenless/bureau/photography/photography.py @@ -73,7 +73,7 @@ class Photography(Bureau): #proc = subprocess.Popen(cmd, shell=True, env={"LD_LIBRARY_PATH": mjpg_dir}) proc = subprocess.Popen(cmd) time.sleep(2) - proc.terminate() + proc.kill() time.sleep(1) # copy last image to the tmpfile