aboutsummaryrefslogtreecommitdiff
path: root/launch.py
diff options
context:
space:
mode:
authorw-e-w <40751091+w-e-w@users.noreply.github.com>2023-05-12 22:33:21 +0900
committerw-e-w <40751091+w-e-w@users.noreply.github.com>2023-05-12 22:33:21 +0900
commit681c16dd1e911bdf831b031b0f31aaba41c280f8 (patch)
tree52f59bddc59f29ff35cab4e9da1370ac09470b4b /launch.py
parentabe32cefa39dee36d7f661d4e63c28ea8dd60c4f (diff)
fix --data-dir for COMMANDLINE_ARGS
move reading of COMMANDLINE_ARGS into paths_internal.py so --data-dir can be properly read
Diffstat (limited to 'launch.py')
-rw-r--r--launch.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/launch.py b/launch.py
index 62b33f14..516746ac 100644
--- a/launch.py
+++ b/launch.py
@@ -3,16 +3,12 @@ import subprocess
import os
import sys
import importlib.util
-import shlex
import platform
import json
from modules import cmd_args
from modules.paths_internal import script_path, extensions_dir
-commandline_args = os.environ.get('COMMANDLINE_ARGS', "")
-sys.argv += shlex.split(commandline_args)
-
args, _ = cmd_args.parser.parse_known_args()
python = sys.executable