title: Windows Server cmd returns immediately, but program keeps running
body: <p>I made a C# program. If I run it in debug mode in Visual Studio, it keeps running for several minutes and produces output to standard out. But when I build it for release and run it from the command line (cmd), then it is run as a background process, or something. It looks like the program returns immediately, but it is in fact running in the background. But I want to see the output. I have not seen this before in Windows. This is Windows Server 2012. What could be wrong?</p>