Home >Backend Development >PHP Tutorial >如何在PHP里启动一个进程以后让它在后台运行._PHP

如何在PHP里启动一个进程以后让它在后台运行._PHP

WBOY
WBOYOriginal
2016-06-01 12:35:101026browse

在LINUX/UNIX下 



exec
("commmand&"); 



exec
("perl file.pl&"); 



符号
"&"表示把程序放在后台运行而调用者继续。 



WIN9X
/NT下要用start命令 



exec
("start /xxxxx file.exe"); 



WINNT的start命令比WIN9X的多很多选项。 

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn