Ver código fonte

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

Source commit: 875f3b6ec70ef4c4598c0193b007c3a3bbb6e28b
Martin Prikryl 8 anos atrás
pai
commit
cbe7d544f3
1 arquivos alterados com 1 adições e 0 exclusões
  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;
 }
 //---------------------------------------------------------------------------