title: python multiprocess fails to start
body: <p>Here is my code for a simple multiprocessing task in python</p>
  
  <pre><code>from multiprocessing import Process
  
  def myfunc(num):
  
      tmp = num * num
      print 'squared O/P will be ', tmp
      return(tmp)
  
  
  a = [ i**3 for i in range(5)] ## just defining a list
  
  task = [Process(target = myfunc, args = (i,)) for i in a]  ## creating processes
  
  for each in task : each.start()  # starting processes &lt;------ problem line
  
  for each in task : each.join()   # waiting all to finish up
  </code></pre>
  
  <p>When I run this code, it hangs at certain point, so to identify it I ran it line by line in python shell and found that when I call 'each.start()' The shell pops out a dialogue box as:</p>
  
  <pre><code>" The program is still running , do you want to kill it? '
  </code></pre>
  
  <p>and I select 'yes' the shell closes.</p>
  
  <p>When I replace Process with 'threading.Thread' the same code runs but with this nonsense output:</p>
  
  <pre><code>Squared Squared Squared Squared Squared  0    1491625
  36496481
  </code></pre>
  
  <p>Is there any help in this regard ? thank in advance</p>
  
  <p>To run my python codes I use Idlex IDE and I start it from terminal.</p>
  
  <p>I have Intel Xeon Processor with 4 cores / 8 Threads, and 8GB RAM</p>