kill with sigkill

workspace
Brendan Howell 7 years ago
parent 21a9f8740c
commit a5bf35cfe4

@ -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

Loading…
Cancel
Save