title: PHP EXEC and C++ program that continuously outputs
body: <p>Is it possible to use PHP function EXEC with a C++ program that outputs a result every 500 milliseconds?</p>
  
  <p>I don't think it is possible because i think EXEC waits for the code to finish and then grab the result. But if it is possible can you please tell me how?</p>
  
  <p>and if not, what other options do i have ?</p>