mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
keep process in momery for some time
This commit is contained in:
parent
e107526bbd
commit
1e485614bd
1 changed files with 4 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue