This commit is contained in:
Bryan Vaz
2025-06-07 02:37:55 -04:00
committed by GitHub
parent 2dd4c04088
commit 314be729cf

View File

@@ -17,7 +17,7 @@ M.parse_response = Gemini.parse_response
M.transform_to_function_declaration = Gemini.transform_to_function_declaration
local function execute_command(command)
local handle = io.popen(command)
local handle = io.popen(command .. " 2>/dev/null")
if not handle then error("Failed to execute command: " .. command) end
local result = handle:read("*a")
handle:close()