|
|
@ -73,7 +73,7 @@ class Photography(Bureau):
|
|
|
|
#proc = subprocess.Popen(cmd, shell=True, env={"LD_LIBRARY_PATH": mjpg_dir})
|
|
|
|
#proc = subprocess.Popen(cmd, shell=True, env={"LD_LIBRARY_PATH": mjpg_dir})
|
|
|
|
proc = subprocess.Popen(cmd)
|
|
|
|
proc = subprocess.Popen(cmd)
|
|
|
|
time.sleep(2)
|
|
|
|
time.sleep(2)
|
|
|
|
proc.kill()
|
|
|
|
proc.send_signal(signal.SIGINT)
|
|
|
|
time.sleep(1)
|
|
|
|
time.sleep(1)
|
|
|
|
|
|
|
|
|
|
|
|
# copy last image to the tmpfile
|
|
|
|
# copy last image to the tmpfile
|
|
|
|