title: Handle prompts in Python - popen
body: <p>Here's my sample python code</p>
  
  <pre><code>def gitClone():
      proc = subprocess.Popen(['git', 'clone', 'https://someuser@sailclientqa.scm.azurewebsites.net:443/sailclientqa.git'], stdout=subprocess.PIPE)
      stdout,stderr = proc.communicate('mypassword')
      print(stddata)
      print (stderr) 
  </code></pre>
  
  <p>Every execution results in prompt for password. What's the best way for me to do this git clone from python without password prompt.</p>
  
  <p>I'd appreciate your expertise/advice</p>