title: How to run command-line application from the terminal?
body: <p>I'm a recent convert from Windows to Macbook Pro. I am getting use to Xcode. One thing that I would enjoy is when running a debug application in the terminal. Currently, I have to press Command+R for it to compile and run in Xcode. To have the application run in the terminal, I have to do an additional step by opening the Products folder, right click the application, then 'Open as Exterior Editor'. Then the terminal opens and runs the program.</p>
  
  <p>I would like this behavior to work automatically by pressing Command+R. It seems to me like there would be a setting to direct the output. </p>
  
  <p>Are there any steps to accomplish this?</p>