keep process in momery for some time

This commit is contained in:
Jakub Trllo 2024-01-02 11:59:45 +01:00
parent e107526bbd
commit 1e485614bd

View file

@ -217,7 +217,10 @@ class DJVViewAction(BaseAction):
try:
# Run DJV with these commands
subprocess.Popen(cmd)
_process = subprocess.Popen(cmd)
# Keep process in memory for some time
time.sleep(0.1)
except FileNotFoundError:
return {
"success": False,