From 13883c63d8fd49164f369048ea6e8065f2881a22 Mon Sep 17 00:00:00 2001 From: Dimitre Date: Sun, 1 Sep 2024 12:56:58 -0300 Subject: [PATCH] update --- commandLine/src/utils/Utils.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/commandLine/src/utils/Utils.cpp b/commandLine/src/utils/Utils.cpp index f1ecebfd..e9782a9d 100644 --- a/commandLine/src/utils/Utils.cpp +++ b/commandLine/src/utils/Utils.cpp @@ -62,12 +62,6 @@ std::string execute_popen(const char* cmd) { auto rc = pclose(pipe); #endif - - if (rc == EXIT_SUCCESS) { // == 0 - - } else if (rc == EXIT_FAILURE) { // EXIT_FAILURE is not used by all programs, maybe needs some adaptation. - - } // trim last line break result.pop_back(); return result;