diff options
author | Vladimir Repin <32306715+mezotaken@users.noreply.github.com> | 2023-01-10 09:46:35 +0000 |
---|---|---|
committer | Vladimir Repin <32306715+mezotaken@users.noreply.github.com> | 2023-01-10 09:47:52 +0000 |
commit | 76a21b9626b7556638db188c157e3e8036803326 (patch) | |
tree | d8d01271be98292601e4d0ab5ea579fcc2601d8a /launch.py | |
parent | 7ec275fae799f19cdb1756412ae75ca6bfe251cd (diff) | |
download | stable-diffusion-webui-gfx803-76a21b9626b7556638db188c157e3e8036803326.tar.gz stable-diffusion-webui-gfx803-76a21b9626b7556638db188c157e3e8036803326.tar.bz2 stable-diffusion-webui-gfx803-76a21b9626b7556638db188c157e3e8036803326.zip |
clear envvar, add assertion
Diffstat (limited to 'launch.py')
-rw-r--r-- | launch.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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)
|