Sarcasm on the internet, it's hard work and gets lost in transmission. The suggestion was to delegate the responsibility to your supervisor, an existing process in your system that already knows how to perform the task you're asking for.<div>
<br><div><div class="gmail_quote">On Mon, Oct 31, 2011 at 10:04 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 Mon, Oct 31, 2011 at 10:21 PM, Magnus Klaar <<a href="mailto:magnus.klaar@gmail.com">magnus.klaar@gmail.com</a>> wrote:<br>
> Hi!<br>
> It's worth taking a closer look at the supervisor behavior, all restart<br>
> strategies except the simple_one_for_one strategy allows you specify a<br>
> unique id for all child processes added to the supervisor. If a duplicate<br>
> process with the same id is added at a later point in time an error<br>
> containing the pid of the existing child process is returned.<br>
<br>
</div>Magnus. Sorry, I don't understand what are you speaking about. Really.<br>
</blockquote></div><br><div><br></div></div></div>