GUI development
This commit is contained in:
@@ -2,14 +2,6 @@ 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()
|
||||
|
||||
Reference in New Issue
Block a user