On Thu, Mar 18, 2021 at 11:46 AM Bart Vandewoestyne <bart.vandewoest...@gmail.com> wrote: > > I have built Crypto++ 8.20 on Windows using Visual Studio 2019 in both Debug > and Release configuration using something like > > msbuild cryptest.sln /t:cryptlib;cryptest > /p:Configuration="Debug";Platform=Win32;PlatformToolset=v142;WholeProgramOptimization="false"" > > For both the Debug and Release build, when I run the cryptest.exe as follows: > > cryptest.exe v > > it seems to run fine because I get: > ... > > However, when (in a script or on my windows cmd prompt) I try to redirect the > output to a file using > > cryptest.exe v > output.txt > or > cryptest.exe v > output.txt 2>&1 > > then i get my cmd prompt back, but the output.txt file only contains > > Using seed: 1616082222 > > and that's it. What am I doing wrong here?
No ideas. The test program (cryptest.exe v' and 'cryptest.exe tv all') does not prompt so there should not be a hang. I'm guessing it has something to do with MinGW or Cygwin. Maybe you can attach a debugger when its hung. Jeff -- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to cryptopp-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/cryptopp-users/CAH8yC8nXEd13G4zORjAGwaSZWpBbyVFEmpreSMARis%3DRhUx1NA%40mail.gmail.com.