diff --git a/scripts/wk/kit/tools.py b/scripts/wk/kit/tools.py index 3fb770d9..1924f6a6 100644 --- a/scripts/wk/kit/tools.py +++ b/scripts/wk/kit/tools.py @@ -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.""" diff --git a/scripts/wk/setup/win.py b/scripts/wk/setup/win.py index 5ac59fd2..fafe67bf 100644 --- a/scripts/wk/setup/win.py +++ b/scripts/wk/setup/win.py @@ -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: