Probably the quoting of the argument to grep.
try this instead:
> p1 = Popen(['grep', 'Sep 22', '/var/log/auth.log'], stdout=PIPE)
etc

Jeff
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to