• 0

.exe in cmd


Question

I just tried to run a simple Hello, world .exe in cmd. It executes, but the command prompt doesn't stay open. It automatically exits. How can I make it not exit after it executes the .exe.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0
I just tried to run a simple Hello, world .exe in cmd. It executes, but the command prompt doesn't stay open. It automatically exits. How can I make it not exit after it executes the .exe.

Just add a breakpoint before the terminating statement in your code.

Or run the exe after opening the command window.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.