aboutsummaryrefslogtreecommitdiff
path: root/launch.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-01-10 15:14:03 +0300
committerGitHub <noreply@github.com>2023-01-10 15:14:03 +0300
commita0ef416aa769022ce9e97dcc87f88a0ae9e6cc58 (patch)
tree4e5dcc1cf90307d4586a9ea6a07172d45e347e48 /launch.py
parentef75c980536471c0729a2319440e3083cd57a4f0 (diff)
parent76a21b9626b7556638db188c157e3e8036803326 (diff)
Merge pull request #6596 from mezotaken/master
Fix issues with testing process
Diffstat (limited to 'launch.py')
-rw-r--r--launch.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/launch.py b/launch.py
index 49b91b1f..bcbb792c 100644
--- a/launch.py
+++ b/launch.py
@@ -282,6 +282,7 @@ def tests(test_dir):
print(f"Launching Web UI in another process for testing with arguments: {' '.join(sys.argv[1:])}")
+ os.environ['COMMANDLINE_ARGS'] = ""
with open('test/stdout.txt', "w", encoding="utf8") as stdout, open('test/stderr.txt', "w", encoding="utf8") as stderr:
proc = subprocess.Popen([sys.executable, *sys.argv], stdout=stdout, stderr=stderr)