标签: php process exec
PHP是否可以执行命令从而替换当前进程? 就像在C或Ruby中一样:
exec('ls') # should not get here
答案 0 :(得分:0)
试试pcntl_exec:http://se.php.net/manual/en/function.pcntl-exec.php
pcntl_exec