Re: Set process custom identifier
| From: | Matijn Woudt | Date: | Tue, 02 Apr 2013 13:48:39 +0000 |
| Subject: | Re: Set process custom identifier | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-320739@lists.php.net to get a copy of this message | ||
Hi,
pcntl_fork will return the pid of the fork, what is wrong with using that
pid to identify the process?
- Matijn
On Tue, Apr 2, 2013 at 3:38 PM, Sorin Badea <sorin.badea91@gmail.com> wrote:
> Hi guys,
> I'm trying to find a solution to identify a php process that is spawned
> with pnctl_fork. I've tried to set a custom gid but this isn't viable
> because I have to run the parent proc with administrative permissions. I
> need to do this native without any pecl extensions.
> Is there a way to do this ?
>
> Regards,
> --
> Badea Sorin (unu.sorin)
> sorin.badea91@gmail.com
> unu_sorin@yahoo.com
>