title: How do I pipe a subprocess call to a text file?
body: <pre><code>subprocess.call(["/home/myuser/run.sh", "/tmp/ad_xml",  "/tmp/video_xml"])
  </code></pre>
  
  <p>RIght now I have a script that I run. When I run it and it hits this line, it starts printing stuff because run.sh has prints in it.</p>
  
  <p>How do I pipe this to a text file also? (And also print, if possible)</p>