You are here

function drush_background_process_execute in Background Process 7.2

File

./background_process.drush.inc, line 37
Drush sql commands

Code

function drush_background_process_execute($pid) {
  $process = BackgroundProcess::load($pid);
  if (!$process) {
    return drush_set_error(dt('Unknown process: !pid', array(
      '!pid' => $pid,
    )));
  }
  $process
    ->execute();
}