diff --git a/src/gui/opkg_manager.cpp b/src/gui/opkg_manager.cpp index e05486e40..23d899b99 100644 --- a/src/gui/opkg_manager.cpp +++ b/src/gui/opkg_manager.cpp @@ -47,7 +47,7 @@ #include #include #include -#include + #include #include #include @@ -370,7 +370,8 @@ void COPKGManager::getPkgData(const int pkg_content_id) break; } - FILE *f = popen(pkg_types[pkg_content_id].c_str(), "r"); + pid_t pid = 0; + FILE *f = my_popen(pid, pkg_types[pkg_content_id].c_str(), "r"); if (!f) { showError("Internal Error", strerror(errno), pkg_types[pkg_content_id]); return;