title: Execute a command line executable with parameters and wait for error code (integer)?
body: <p>Does anyone know of a function to call a commandline executable, allowing to pass it parameters (particularly a stringlist, or list of strings somehow, and waiting for execution to complete and return an error code (integer)?</p>
  
  <p>The executable i am calling is a delphi app, which returns an error code. I did not write the app, and i do not have source to modify it in any way</p>
  
  <p>thanx</p>