On 2010-06-10, Chris Seberino <cseber...@gmail.com> wrote: > How do subprocess.Popen("ls | grep foo", shell=True) with shell=False?
You'll have to build your own pipeline with multiple calls to subprocess > Does complex commands with "|" in them mandate shell=True? Yes. Hey, I've got a novel idea! Read the documentation for the subprocess module: http://docs.python.org/library/subprocess.html#replacing-shell-pipeline -- Grant Edwards grant.b.edwards Yow! ... My pants just went at on a wild rampage through a gmail.com Long Island Bowling Alley!! -- http://mail.python.org/mailman/listinfo/python-list