Skip to content

Commit

Permalink
fix LD_LIBRARY_PATH for gdb
Browse files Browse the repository at this point in the history
  • Loading branch information
AAGaming00 committed Aug 5, 2024
1 parent 30cacd6 commit 73fce12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/decky_loader/localplatform/localplatformlinux.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ async def close_cef_socket():
logger.info(f"Closing CEF socket with PID {pid} and FD {fd}")

# Use gdb to inject a close() call for the socket fd into steamwebhelper
gdb_ret = run(["gdb", "--nx", "-p", pid, "--batch", "--eval-command", f"call (int)close({fd})"])
gdb_ret = run(["gdb", "--nx", "-p", pid, "--batch", "--eval-command", f"call (int)close({fd})"], env={"LD_LIBRARY_PATH": ""})

if gdb_ret.returncode != 0:
logger.error(f"Failed to close CEF socket with gdb! return code: {str(gdb_ret.returncode)}", exc_info=True)
Expand Down

0 comments on commit 73fce12

Please sign in to comment.