Buen hilo , felicitaciones a todos . 2010/10/25 Jose Caballero <jcaballero....@gmail.com>
> > >> >> Ya estoy más cerca de resolver mi problema => me queda por averiguar >> como capturar el return code del comando ejecutado con Popen() >> >> > Vale, ya lo tengo. > > > popen = subprocess.Popen(command, stdout=subprocess.PIPE) > for line in iter(popen.stdout.readline, ""): > print line, > > print open.wait() # espera hasta que el proceso hijo termina y devuelve el > RC > > > > > _______________________________________________ > Python-es mailing list > Python-es@python.org > http://mail.python.org/mailman/listinfo/python-es > FAQ: http://python-es-faq.wikidot.com/ > > -- Abraham Zamudio Ch.
_______________________________________________ Python-es mailing list Python-es@python.org http://mail.python.org/mailman/listinfo/python-es FAQ: http://python-es-faq.wikidot.com/