Unset LD_LIBRARY_PATH when calling system tools from AppImage

This commit is contained in:
Gabriel Florio
2026-07-28 14:40:49 -03:00
parent 5a48a61f2e
commit 4943d3e5f4
3 changed files with 31 additions and 6 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
local GameVersion = require("src.core.GameVersion")
local Strings = require("src.core.Strings")
local HostShell = require("src.core.HostShell")
local RomImporter = {}
RomImporter.__index = RomImporter
@@ -285,7 +286,7 @@ end
local function commandOutput(command)
releasePointerGrab()
local pipe = io.popen(command, "r")
local pipe = HostShell.popen(command)
if not pipe then return nil end
local result = pipe:read("*a")
pipe:close()