proc_terminate

proc_terminate

(PHP 5, PHP 7)

proc_terminateKills a process opened by proc_open

Description

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

Signals a process (created using proc_open()) that it should terminate. proc_terminate() returns immediately and does not wait for the process to terminate.

proc_terminate() allows you terminate the process and continue with