first commit
This commit is contained in:
commit
e6c52820cd
227 changed files with 16156 additions and 0 deletions
15
silent_run.py
Executable file
15
silent_run.py
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env python3
|
||||
import os
|
||||
import sys
|
||||
import subprocess
|
||||
|
||||
# Supprimer l'avertissement de dépréciation de Tk
|
||||
os.environ["TK_SILENCE_DEPRECATION"] = "1"
|
||||
|
||||
# Construire la commande pour exécuter l'application
|
||||
cmd = [sys.executable, "run.py"]
|
||||
if len(sys.argv) > 1:
|
||||
cmd.extend(sys.argv[1:])
|
||||
|
||||
# Exécuter l'application
|
||||
subprocess.run(cmd)
|
||||
Loading…
Add table
Add a link
Reference in a new issue