how to assign values to standard input?
<p>I need to assign a values to subprocess(to standard input) by passing command line arguments.<br>
This is what I have so far:</p>

<pre><code>from subprocess import call
import sys
import os
import subprocess
from cmd import PROMPT

call("hg clone  --insecure  https://mixmaster.netwitness.local/" + "sys.argv[1]",shell=True)

temp1 = sys.argv[2]
sys.stdin = temp1

temp2 = sys.argv[3]
sys.stdin = temp2
</code></pre>

<p>What do I need to do to make this work?</p>
