Windows: Hide the console windows of the native Windows format tool when we call it to perform formatting
This commit is contained in:
parent
6dab32086f
commit
28c51228f8
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue