📅  最后修改于: 2022-03-11 14:54:18.150000             🧑  作者: Mango
代码示例1
exec('sh somescript.sh');//this will wait for script to finish
exec('sh somescript.sh >/dev/null 2>&1 &'); //this will NOT wait