title: Vim new window for program execution, similar to cwindow
body: <p>I am using Vim to edit/compile individual <code>cpp</code> files (<code>makepgr=g++\ -g\ %</code>) and want to execute the resulting binaries ideally using a shortkey like <kbd>F6</kbd>. The desired behavior is then, to open a new window similar to <code>:cwindow</code> with a fixed maximal height (say 20 lines), which contains the program output. I also want to be able to close this window again with another shortkey like <kbd>F7</kbd>.</p>
  
  <p>As a bonus, it would be great to have the execution time of the program shown in the windows title/status.</p>
  
  <p>EDIT: the binaries I am talking about are non-interactive! They mostly read some input files, do data manipulation, write their results to other files and have some output while doing so.</p>