Quote Originally Posted by mmc01 View Post
I try to use Unhidden.exe /c but it not close console window

when process success it show like this in console. it not close console windows.
If you run your program from VS with F5, you are not able to avoid being given with "Press any key to continue..." This is how VS works, and this has nothing to do with your code.