Write a project in Qt, by popen call an external command line programs, don't have to read the output, so want to hidden the CMD window directly, use the
ShowWindow (GetConsoleWindow (), SW_HIDE); Still doesn't close off the CMD window, due to the environment? (use popen QProcess is too easy to get wrong) is the cause of