浏览代码

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

Source commit: 875f3b6ec70ef4c4598c0193b007c3a3bbb6e28b
Martin Prikryl 7 年之前
父节点
当前提交
cbe7d544f3
共有 1 个文件被更改,包括 1 次插入0 次删除
  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;
 }
 //---------------------------------------------------------------------------