()
| 166 | webui_common.WEBUI_API_PREFIX = "/v1" |
| 167 | |
| 168 | def run_fn(): |
| 169 | exe_name = "sdkit.exe" if OS_NAME == "Windows" else "sdkit" |
| 170 | common_cli_args = get_common_cli_args(return_string=False) |
| 171 | cmd = [os.path.join(backend_dir, exe_name)] + common_cli_args + extra_args + user_args |
| 172 | |
| 173 | log.info(f"starting: {cmd}") |
| 174 | |
| 175 | return run(cmd, cwd=backend_dir, wait=False, output_prefix="[sdkit3] ") |
| 176 | |
| 177 | do_start_backend(was_still_installing, run_fn) |
| 178 |
nothing calls this directly
no test coverage detected