Suppress SDIO output in AutoSetup
This commit is contained in:
parent
b2473181fd
commit
1dfaf47d12
2 changed files with 3 additions and 2 deletions
|
|
@ -220,7 +220,8 @@ def get_sdio_path(interactive: bool) -> pathlib.Path:
|
||||||
use_network = False
|
use_network = False
|
||||||
sdio_path = get_tool_path("SDIO", "SDIO")
|
sdio_path = get_tool_path("SDIO", "SDIO")
|
||||||
def _mount_server() -> CompletedProcess:
|
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)
|
return mount_network_share(SDIO_SERVER, read_write=False)
|
||||||
def _try_again(error_msg: str) -> bool:
|
def _try_again(error_msg: str) -> bool:
|
||||||
"""Ask to try again or quit."""
|
"""Ask to try again or quit."""
|
||||||
|
|
|
||||||
|
|
@ -1086,7 +1086,7 @@ def open_snappy_driver_installer_origin() -> None:
|
||||||
sdio_path = get_sdio_path(interactive=False)
|
sdio_path = get_sdio_path(interactive=False)
|
||||||
log_dir = format_log_path(tool=True).parent
|
log_dir = format_log_path(tool=True).parent
|
||||||
cmd = [sdio_path, '-log_dir', log_dir]
|
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:
|
def open_windows_activation() -> None:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue