title: Cannot start multiple python processes at the same time
body: <p>I am trying to run a multiprocessing program but for some reason the processes do not start at the same time, they wait for the other one to finish. Below is a piece of the code and some outputs. Could you please advise?
  I am running python 2.7 on windows 10 but i tested on python 3.5 Ubuntu as well with the same results.</p>
  
  <p>Even though both processes are running the same function it doesn't matter for me which one finishes first because their results are not tied, I just want to use better the CPU</p>
  
  <pre><code>import multiprocessing
  import time
  import os
  
  def function(x):
      seq1 = x
      index = 1
      match = False
      t = time.time()
  
      while match == False:
  .........................
         if k==6 :
            match = True
  
         index = index + 1
  
  def Main():
      x1=raw_input("Please enter first sequence: ")
      seq1=[]
      seq1 = x1.split(",")
  
      p1 = multiprocessing.Process(target=function(seq1),)
      p1.start()
      p2 = multiprocessing.Process(target=function(seq1),)
      p2.start()
  
  Main()
  </code></pre>
  
  <p>Output(I have to wait until P1 finishes and then P2 starts):
  P1 started
  process id: 4520
  Match found in: 30401191 tries
  ('done by P1 in: ', 1072.0950000286102)
  P2 started
  process id: 4520
  Match found in: 8665524 tries
  ('done by P2 in: ', 298.375)</p>