• Модуль: scale
  • Путь к файлу: ~/bitrix/modules/scale/lib/shelladapter.php
  • Класс: BitrixScaleShellAdapter
  • Вызов: ShellAdapter::asyncExec
public function asyncExec($command)
{
	$outputPath = "/dev/null";
	$command = $this->prepareExecution($command);
	exec($command. " > ".$outputPath." 2>&1 &");
	return true;
}