if($pid = fork() == 0) { exec("command"); } # this is all executed in the parent ... kill $pid;
In reply to Re: How to kill an external program
by batkins
in thread How to kill an external program
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |