title: Running an executable with parameters in C++ and get the return value;
body: <p>How do you run an executable with parameters passed on it from a C++ program and how do you get the return value from it?</p>
  
  <p>Something like this: 
  c:\myprogram.exe -v</p>