Update "sbase gui" / "sbase commander" settings

This commit is contained in:
Michael Mintz 2025-01-21 18:19:45 -05:00
parent b539039ded
commit 6ea000a1df
1 changed files with 5 additions and 5 deletions

View File

@ -156,9 +156,9 @@ def do_pytest_run(
if save_screenshots:
full_run_command += " --screenshot"
dash_s_needed = False
if "-s" not in additional_options.split(" "):
dash_s_needed = True
capture_needed = False
if "--capture" not in additional_options:
capture_needed = True
additional_options = additional_options.strip()
if additional_options:
@ -168,8 +168,8 @@ def do_pytest_run(
if verbose:
full_run_command += " -v"
if dash_s_needed:
full_run_command += " -s"
if capture_needed:
full_run_command += " --capture=tee-sys"
print(full_run_command)
subprocess.Popen(full_run_command, shell=True)