GUI development

This commit is contained in:
BarsTiger
2022-01-27 19:46:10 +02:00
parent d3b5fa127e
commit 4b3079733b
8 changed files with 143 additions and 255 deletions

24
modules/unerrored.py Normal file
View File

@@ -0,0 +1,24 @@
import threading
import subprocess
import time
def run(func, *args):
try:
subprocess.Popen(func, *args, shell=True)
except:
time.sleep(5)
def run_threaded(func, *args):
try:
threading.Thread(target=func, args=args).start()
except:
time.sleep(5)
def run_old(func, *args):
try:
func(args)
except:
pass