Initial commit - DesignerCEP Project with Caddy deployment
This commit is contained in:
7
tempdemo/psmark/coreldraw_checker.py
Normal file
7
tempdemo/psmark/coreldraw_checker.py
Normal file
@@ -0,0 +1,7 @@
|
||||
import psutil
|
||||
|
||||
def is_coreldraw_running():
|
||||
for process in psutil.process_iter(['pid', 'name']):
|
||||
if process.info['name'] == "CorelDRW.exe":
|
||||
return True
|
||||
return False
|
||||
Reference in New Issue
Block a user