title: How to run my script from another script and wait for finish?
body: <p>I need to call a script called build_report.php, pass in a URL variable named partno and wait until it is finished before continuing.</p>
  
  <p>This script builds a report and then an email is sent out to our customer so I don't want the email sent until the report is generated.</p>
  
  <p>Is this possible?</p>
  
  <p>Which should I use exec or cURL?</p>