From a5bf35cfe4f47422bf7745b28232d221cd90a352 Mon Sep 17 00:00:00 2001 From: Brendan Howell Date: Thu, 4 May 2017 23:43:57 +0200 Subject: [PATCH] kill with sigkill --- screenless/bureau/photography/photography.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screenless/bureau/photography/photography.py b/screenless/bureau/photography/photography.py index cf1316d..c81fd68 100644 --- a/screenless/bureau/photography/photography.py +++ b/screenless/bureau/photography/photography.py @@ -72,7 +72,7 @@ class Photography(Bureau): print(cmd) proc = subprocess.Popen(cmd, shell=True, env={"LD_LIBRARY_PATH": mjpg_dir}) time.sleep(2) - proc.kill(signal.SIGTERM) + proc.kill() time.sleep(1) # copy last image to the tmpfile