title: Can build, but can't run C code in netbeans (but it works in command line)
body: <p>when I try Building the .exe of my code in C inside NB it makes it successful, but when I try to run it inside the program I always get this error:</p>
  
  <pre><code>Unable to start pty process: 
  RUN FAILED (exit value -2, total time: 31ms)
  </code></pre>
  
  <p>But when I go inside the Run proprieties of the project and set the "Console Type" parameter to "External Terminal" it runs in the command line OK.</p>
  
  <p>Any idea about what it could be? I am working with cygwin.</p>