Posted by Ivn Snchez Ortega on 08/16/07 20:22
Fabio wrote:
> $process = popen(...);
>
> the execution starts, but in the .php file may be an infinite loop that I
> want to break.
> There is the possibility to kill the process?
Use pnctl_fork() and his friends. You'll get the PID of the process, and
you'll be able to kill it based on that.
--
----------------------------------
Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
El espacio es una ilusión. El espacio en disco es aún más.
Navigation:
[Reply to this message]
|