id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release 3728,os.popen3 usage cause lags in launch() function,franck34,Peter Kropf,"Commands launched by launch() function are working, but a lag of 20/30 sec occur after when using apache2+mod_python Here is my fix, don't know if it's good or not, but it's working for me : {{{ def launch(self, cmd, input): """"""Launch a process (cmd), and returns exitcode, stdout + stderr"""""" p = subprocess.Popen(cmd, shell=True,stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE) (p_in, p_out, p_err) = (p.stdin, p.stdout, p.stderr) if input: p_in.write(input) p_in.close() out = p_out.read() err = p_err.read() p.wait() p_err.close() p_out.close() return out, err }}}",enhancement,closed,high,GraphvizPlugin,normal,wontfix,"mod_python, popen, subprocess",,0.10