python function in pipe

7stud bbxx789_05ss at yahoo.com
Sat Apr 28 19:38:30 CEST 2007


>     p  = subprocess.Popen(["python", "6test.py"],
>             stdout=subprocess.PIPE,
>             stderr=subprocess.PIPE)

The file name is wrong there; it should be:

p  = subprocess.Popen(["python", "moduleA.py"],
            stdout=subprocess.PIPE,
            stderr=subprocess.PIPE)




More information about the Python-list mailing list