Zxce3 / userbot

Audit required: Starting a subprocess BAN-B606
Security
Minor
a year ago2 years old
Starting a process without a shell.
 17
 18
 19def restart():
 20    os.execvp(sys.executable, [sys.executable, "main.py"]) 21
 22
 23def format_exc(e: Exception, hint: str = None):