mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 02:58:02 -06:00
Windows: Hide the console windows of the native Windows format tool when we call it to perform formatting
This commit is contained in:
@@ -1196,7 +1196,8 @@ BOOL ExternalFormatFs (int driveNo, int clusterSize, int fsType)
|
||||
siStartInfo.hStdError = hChildStd_OUT_Wr;
|
||||
siStartInfo.hStdOutput = hChildStd_OUT_Wr;
|
||||
siStartInfo.hStdInput = hChildStd_IN_Rd;
|
||||
siStartInfo.dwFlags |= STARTF_USESTDHANDLES;
|
||||
siStartInfo.wShowWindow = SW_HIDE;
|
||||
siStartInfo.dwFlags |= STARTF_USESTDHANDLES | STARTF_USESHOWWINDOW;
|
||||
|
||||
/* Create the child process. */
|
||||
bSuccess = CreateProcess(NULL,
|
||||
|
||||
Reference in New Issue
Block a user