proc_terminate

(PHP 5, PHP 7)

proc_terminate杀锟斤拷锟斤拷 proc_open 锟津开的斤拷锟斤拷

说锟斤拷

proc_terminate ( resource $process [, int $signal = 15 ] ) : bool

锟斤拷 process 锟斤拷锟斤拷 proc_open() 锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷 锟斤拷锟斤拷锟脚猴拷通知锟斤拷锟斤拷止锟斤拷 proc_terminate() 锟斤拷锟斤拷之锟襟将伙拷锟斤拷锟斤拷锟斤拷锟截o拷 锟斤拷锟斤拷锟斤拷却锟斤拷锟斤拷锟斤拷锟街癸拷锟�

锟斤拷锟斤拷使锟斤拷 proc_terminate() 锟斤拷止锟斤拷锟斤拷 锟斤拷锟揭硷拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷 锟斤拷锟斤拷使锟斤拷 proc_get_status() 锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟角凤拷锟窖撅拷锟斤拷止锟斤拷

锟斤拷锟斤拷

process

锟斤拷 proc_open() 锟津开碉拷 resource锟斤拷

signal

锟斤拷选锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷 POSIX 锟斤拷锟斤拷系统锟斤拷 锟斤拷示锟斤拷锟斤拷系统锟斤拷锟斤拷 kill(2) 锟斤拷锟斤拷锟斤拷谭锟斤拷偷锟斤拷藕拧锟� 默锟斤拷值为 SIGTERM锟斤拷

锟斤拷锟斤拷值

锟斤拷锟截斤拷锟教碉拷锟斤拷止状态锟斤拷

锟斤拷锟斤拷锟斤拷志

锟芥本 说锟斤拷
5.2.2 之前锟侥版本锟斤拷锟斤拷锟斤拷锟斤拷锟劫斤拷锟斤拷 resource锟斤拷

锟轿硷拷

  • proc_open() - 执锟斤拷一锟斤拷锟斤拷锟筋,锟斤拷锟揭达拷锟斤拷锟斤拷锟斤拷锟斤拷/锟斤拷锟斤拷锟斤拷募锟街革拷搿�
  • proc_close() - 锟截憋拷锟斤拷 proc_open 锟津开的斤拷锟教诧拷锟揭凤拷锟截斤拷锟斤拷锟剿筹拷锟斤拷
  • proc_get_status() - 锟斤拷取锟斤拷 proc_open 锟斤拷锟斤拷锟津开的斤拷锟教碉拷锟斤拷息