VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common')
-rw-r--r--src/Common/Format.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Common/Format.c b/src/Common/Format.c
index 76923c6b..d1aa653c 100644
--- a/src/Common/Format.c
+++ b/src/Common/Format.c
@@ -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,