title: Sublime Text launch separate command window (C/C++)
body: <p>I am trying to do all the programs in <a href="https://rads.stackoverflow.com/amzn/click/com/0321776410" rel="nofollow noreferrer" rel="nofollow noreferrer"><em>Programming in C by Stephen G. Kochan</em></a> as an exercise and to familiarize myself with some of the finer details (I didn't go to school for computer science) of C (on a <em>Windows 8</em> machine).</p>
  
  <p>A lot of the book is simple programs and I'd like to enter the programs with <a href="https://en.wikipedia.org/wiki/Sublime_Text" rel="nofollow noreferrer"><em>Sublime Text</em></a> (as opposed to <em>Code::Blocks</em>, which I have been using with <a href="https://en.wikipedia.org/wiki/OpenFrameworks" rel="nofollow noreferrer"><em>openFrameworks</em></a>). Is there an easy way to launch a separate command window for a program after it is compiled.</p>
  
  <p>It's kind of hacky, but I changed the "run" version of build to launch the compiled program</p>
  
  <pre><code>"cmd": ["${file_base_name}.exe"]
  </code></pre>
  
  <p>but apparently, the Sublime Text documentation says that <a href="https://sublime-text-unofficial-documentation.readthedocs.org/en/latest/reference/build_systems.html" rel="nofollow noreferrer">GUI's are suppressed</a>.</p>
  
  <p>What I want to do is launch a separate command prompt window. The primary reason is that <code>scanf</code> does not halt for input. Let me know if there is a quick workaround:</p>
  
  <ul>
  <li>some workaround in Sublime Text ( a setting I'm not aware of)</li>
  <li>how to change the build file to launch an actual window</li>
  <li>some way to easily launch a separate window in C</li>
  </ul>