v0.27.2_hotfix3
This commit is contained in:
1 parent
3457d1f543
commit
e84df445c6
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user