function M.execute_command()

in lua/llm/utils.lua [79:88]


function M.execute_command(command)
  local handle = io.popen(command)
  if handle == nil then
    vim.notify("[LLM] error executing command: " .. command, vim.log.levels.ERROR)
    return nil
  end
  local result = M.trim(handle:read("*a"))
  handle:close()
  return result
end