<div>Hi all, </div>
<div> </div>
<div>I would like to use the multiprocessing module of pvpython (paraview 3.8.1 32 bits on windows -- binary release)</div>
<div>But trying to launch several multiprocessing.Process, nothing appen. A new window with an interpreter is displayed.... but do nothing, even with the simpliest task. </div>
<div>Is there some limitations about the use of multiprocessing with pvpython ? </div>
<div> </div>
<div>Here is the code I use for testing, working well when running with python... but does nothing with pvpython. </div>
<div> </div>
<div>from multiprocessing import Process<br>import os<br>import time</div>
<div>def sleeper(name, seconds):<br>   print &#39;starting child process with id: &#39;, os.getpid()<br>   print &#39;with arg &#39;, name<br>   print &#39;sleeping for %s &#39; % seconds<br>   time.sleep(seconds)<br>   print &quot;Done sleeping&quot;</div>


<div><br>if __name__ == &#39;__main__&#39;:<br>   p = Process(target=sleeper, args=(&#39;bob&#39;, 5))<br>   p.start()<br>   pp = Process(target=sleeper, args=(&#39;john&#39;, 5))<br>   pp.start()<br>   p.join()<br>   pp.join()<br>

 </div>
<div> </div>
<div>Thanks for help, </div>
<div> </div>
<div>AurĂ©lien </div>