diff --git a/main.cpp b/main.cpp index 1535608..e9d3300 100644 --- a/main.cpp +++ b/main.cpp @@ -684,7 +684,7 @@ void exec(unsigned short threadId, string cmd, bool debug) debugErrFilePath = debugCommonFilePath + ".err"; cmd += " >> " + debugOutFilePath; cmd += " 2>> " + debugErrFilePath; - cmd += "; echo \"" + initialCmd + "\" | tee -a " + debugOutFilePath + " " + debugErrFilePath; + cmd += "; echo \"" + initialCmd + "\" | tee -a " + debugOutFilePath + " " + debugErrFilePath + " > /dev/null"; } system(cmd.c_str()); }