Re: python function in pipe

2007-04-28 Thread Gabriel Genellina
En Sat, 28 Apr 2007 13:58:59 -0300, <[EMAIL PROTECTED]> escribió: > On Apr 28, 6:37 am, Bart <[EMAIL PROTECTED]> wrote: >> Im using module that gives errors to stderr/stdout (generated by SWIG) >> Problem is that I need to parse this errors/information from module. >> os.popen3 looks nice but thi

Re: python function in pipe

2007-04-28 Thread 7stud
> 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) --

Re: python function in pipe

2007-04-28 Thread 7stud
On Apr 28, 7:37 am, Bart <[EMAIL PROTECTED]> wrote: > Hi everyone! > > Im using module that gives errors to stderr/stdout (generated by SWIG) > Problem is that I need to parse this errors/information from module. > > os.popen3 looks nice but this executes command not function. > > Is there any

Re: python function in pipe

2007-04-28 Thread attn . steven . kuo
On Apr 28, 6:37 am, Bart <[EMAIL PROTECTED]> wrote: > Hi everyone! > > Im using module that gives errors to stderr/stdout (generated by SWIG) > Problem is that I need to parse this errors/information from module. > > os.popen3 looks nice but this executes command not function. > > Is there any

python function in pipe

2007-04-28 Thread Bart
Hi everyone! Im using module that gives errors to stderr/stdout (generated by SWIG) Problem is that I need to parse this errors/information from module. os.popen3 looks nice but this executes command not function. Is there any solution? Best regards Bart. -- http://mail.python.org/mailman