v0.27.2_hotfix3

This commit is contained in:
Mateusz Gruszczyński committed 2026-10-07 15:56:56 +02:00
1 parent 3457d1f543
commit e84df445c6
1 file changed
+1 -1
+1 -1
View File
@@ -37,7 +37,7 @@ def copy_data(source: Path, target: Path) -> None:
def _run_user(account, data: Path, args: list[str], timeout: int) -> subprocess.CompletedProcess:
env = os.environ.copy(); env.update(HOME=str(data), PATH='/usr/local/bin:/usr/bin:/bin')
env.pop('PYTHONHOME', None); env.pop('PYTHONPATH', None)
return subprocess.run(['runuser', '-u', account.pw_name, '--', *args], check=False, stdin=subprocess.DEVNULL,
return subprocess.run(['/usr/sbin/runuser', '-u', account.pw_name, '--', *args], check=False, stdin=subprocess.DEVNULL,
stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True, timeout=timeout, env=env)
def _acme_python(data: Path) -> Path: