diff --git a/src/ui/util/osutil.cpp b/src/ui/util/osutil.cpp index 0dac7bd1..205a8674 100644 --- a/src/ui/util/osutil.cpp +++ b/src/ui/util/osutil.cpp @@ -208,7 +208,7 @@ void OsUtil::restartClient() QString command; if (FileUtil::fileExists("restart.bat")) { - command = "restart.bat"; + command = "start /min cmd /c restart.bat"; } else { command = QString("ping -n 4 127.0.0.1 >NUL" " & if not exist inst.tmp start %1 --launch")