Suppress SDIO output in AutoSetup

This commit is contained in:
2Shirt 2024-05-29 15:20:21 -07:00
parent b2473181fd
commit 1dfaf47d12
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C
2 changed files with 3 additions and 2 deletions

View file

@ -220,7 +220,8 @@ def get_sdio_path(interactive: bool) -> pathlib.Path:
use_network = False
sdio_path = get_tool_path("SDIO", "SDIO")
def _mount_server() -> CompletedProcess:
print('Connecting to server... (Press CTRL+c to use local copy)')
if interactive:
print('Connecting to server... (Press CTRL+c to use local copy)')
return mount_network_share(SDIO_SERVER, read_write=False)
def _try_again(error_msg: str) -> bool:
"""Ask to try again or quit."""

View file

@ -1086,7 +1086,7 @@ def open_snappy_driver_installer_origin() -> None:
sdio_path = get_sdio_path(interactive=False)
log_dir = format_log_path(tool=True).parent
cmd = [sdio_path, '-log_dir', log_dir]
popen_program(cmd, cwd=sdio_path.parent)
popen_program(cmd, cwd=sdio_path.parent, pipe=True)
def open_windows_activation() -> None: