You can't, not without fetching a list of all child processes. A supervisor ensures that only one child per Id, is started. Also registering the child in gproc under the same Id makes sure you to look up the pid once the child has been started. the two mechanisms complement each other.<br>
<br><div class="gmail_quote">On Mon, Oct 31, 2011 at 10:32 PM, Max Lapshin <span dir="ltr"><<a href="mailto:max.lapshin@gmail.com">max.lapshin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Tue, Nov 1, 2011 at 12:26 AM, Magnus Klaar <<a href="mailto:magnus.klaar@gmail.com">magnus.klaar@gmail.com</a>> wrote:<br>
> Sarcasm on the internet, it's hard work and gets lost in transmission. The<br>
> suggestion was to delegate the responsibility to your supervisor, an<br>
> existing process in your system that already knows how to perform the task<br>
> you're asking for.<br>
<br>
</div>How can I ask supervisor to find named child?<br>
</blockquote></div><br>