title: Using grep in log file
body: <p>How do i place grep in the below string. I seem to be not getting it right.</p>
  
  <pre><code>p = subprocess.Popen(["tail", "-10", "/datax/qantas/run/tomcat/logs/localhost_access_log.2016-02-29.txt" "|" "grep /checkout-qantas/int/price?"], stdout=subprocess.PIPE)
  </code></pre>
  
  <p>gives me</p>
  
  <pre><code>tail: cannot open /datax/qantas/run/tomcat/logs/localhost_access_log.2016-02-29.txt|grep /checkout-qantas/int/price?' for reading: No such file or directory
  </code></pre>