diff options
| author | AAGaming <aagaming@riseup.net> | 2025-07-01 15:08:03 -0400 |
|---|---|---|
| committer | AAGaming <aagaming@riseup.net> | 2025-07-01 15:08:03 -0400 |
| commit | 291a22d10f45565078213e3b52c59fc59b343331 (patch) | |
| tree | 912c3731b5edf452d8c131cc3ade3c3f54337efd | |
| parent | cf1b9d288494e08b75274d643b96268617910dd4 (diff) | |
| download | decky-loader-291a22d10f45565078213e3b52c59fc59b343331.tar.gz decky-loader-291a22d10f45565078213e3b52c59fc59b343331.zip | |
try removing stdout pipe
| -rw-r--r-- | backend/decky_loader/localplatform/localplatformlinux.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/decky_loader/localplatform/localplatformlinux.py b/backend/decky_loader/localplatform/localplatformlinux.py index 7af2b96e..e3874b41 100644 --- a/backend/decky_loader/localplatform/localplatformlinux.py +++ b/backend/decky_loader/localplatform/localplatformlinux.py @@ -147,13 +147,13 @@ async def service_active(service_name : str) -> bool: async def service_restart(service_name : str, block : bool = True) -> bool: await run(["systemctl", "daemon-reload"]) logger.info("Systemd reload done.") - + cmd = ["systemctl", "restart", service_name] if not block: cmd.append("--no-block") - res, _, _ = await run(cmd, stdout=PIPE, stderr=STDOUT) + res, _, _ = await run(cmd) return res.returncode == 0 async def service_stop(service_name : str) -> bool: |
