fix: avoid update failure on /opt/sk cwd
This commit is contained in:
@ -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,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user