Explorar o código

winscp.exe with /fingerprintscan waits for a key press (though the switch is still not documented)

Source commit: 875f3b6ec70ef4c4598c0193b007c3a3bbb6e28b
Martin Prikryl %!s(int64=8) %!d(string=hai) anos
pai
achega
cbe7d544f3
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      source/windows/ConsoleRunner.cpp

+ 1 - 0
source/windows/ConsoleRunner.cpp

@@ -2513,6 +2513,7 @@ int __fastcall FingerprintScan(TConsole * Console, TProgramParams * Params)
     Result = HandleException(Console, E);
   }
 
+  Console->WaitBeforeExit();
   return Result;
 }
 //---------------------------------------------------------------------------