title: Return the bash file code at the end of execution in php
body: <p>I have used a bash file in a php file. (Require/Include) After that when i want to run the bash file, but not want code will be returned. Result is coming at the end. But the unnecessary codes are coming.</p>
  
  <pre><code>&lt;?php
  require_once("shapemorph");
  ob_start();
  $imageFile2 = 'one-car.jpg';
  $imageFile1 = 'two-car.jpg';
  shell_exec('./shapemorph -d 10 -p 100 -r "73,56 57,68" '.$imageFile2.' '.$imageFile2.' testfy.gif');
  ob_end_flush();
  exit;
  ?&gt;
  </code></pre>
  
  <p>I have used ob_start() for that also. But still the codes are coming.</p>
  
  <p>I do not want the code to be returned.</p>