<div class="gmail_quote">On 21 December 2011 18:59, Andrew Berg <span dir="ltr"><<a href="mailto:bahamutzero8825@gmail.com">bahamutzero8825@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

I am trying to understand the multiprocessing module, and I tried some<br>
simple code:<br>
<br>
import multiprocessing<br>
def f():<br>
        print('bla bla')<br>
p = multiprocessing.Process(target=f)<br>
p.start()<br>
p.join()<br>
<br>
And the result is a new process that spawns a new process that spawns a<br>
new process ad infinitum until I log out and the OS forcefully<br>
terminates all my user processes. I have no idea what is happening; I<br>
expected it to just print the string and terminate.</blockquote><div><br></div><div>Eh? It works for me. Python 3.2 + 2.7</div><div>Is this the full code?</div></div>