diff --git a/src/processes.cpp b/src/processes.cpp index be0fccd..6d327c7 100644 --- a/src/processes.cpp +++ b/src/processes.cpp @@ -122,6 +122,7 @@ bool runProgram(std::string command, std::string runpath, bool wait) posix_spawn_file_actions_addclose(&file_actions, STDERR_FILENO); posix_spawn(&hProc, "/bin/sh", &file_actions, NULL, const_cast(cargs), NULL); */ + command = command + " > /dev/null 2>&1"; pPipe = popen(command.data(), "r"); chdir(curdir); return true;