fix: avoid update failure on /opt/sk cwd

This commit is contained in:
2026-01-15 17:39:40 +01:00
parent 835244b7e0
commit 5850ef8358
4 changed files with 40 additions and 1 deletions

View File

@ -188,7 +188,11 @@ def _run_async(script_path: Path, settings: Settings) -> None:
env["SKD_UPDATE_STATUS_FILE"] = settings.update_status_file
env["SKD_UPDATE_LOG_FILE"] = settings.update_log_file
subprocess.Popen(
[str(script_path)], env=env, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL
[str(script_path)],
env=env,
cwd="/",
stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL,
)