Re: [PHP] Set process custom identifier

[email protected] (Sorin Badea)
Newsgroups php.general
Message-ID <CADcJcD1Xxk2TBnj-ed1t8ONgttxgH5oOJqnSMjOOCUkySgOHtA@mail.gmail.com>
I don't want to wait for it and surely I don't want to safe that pid in
same place. I just want to use `ps` with a pattern to return my forked
process.


On Tue, Apr 2, 2013 at 4:48 PM, Matijn Woudt <[email protected]> wrote:

> 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 <[email protected]>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)
>> [email protected]
>> [email protected]
>>
>
>


-- 
Badea Sorin (unu.sorin)
[email protected]
[email protected]
Pagina personala:
http://badeasorin.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.