function background_process_restart in Background Process 7.2
Same name and namespace in other branches
- 8 background_process.module \background_process_restart()
- 6 background_process.module \background_process_restart()
- 7 background_process.module \background_process_restart()
Restart the current background process
Return value
Exception on fail, otherwise exit
File
- ./
background_process.module, line 671
Code
function background_process_restart() {
$process = BackgroundProcess::currentProcess();
$process
->restart();
exit;
}