1
2
3
exec('/usr/bin/php  '.__PATH__.'/CLI/run-background.php '.$var1.' > /dev/null &',$output);
// $output is the variable return for command "exec"
// $var1 send variables in the string path- get array data with vars in run-background.php usign $argv