#48: Redirect compression command echo to /dev/null

This commit is contained in:
Benjamin Loison 2023-02-22 03:37:07 +01:00
parent ba78223c0c
commit 221956438d

View File

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