Subprocess with a Python Session?

Gabriel Genellina gagsl-py at yahoo.com.ar
Thu Dec 7 21:03:23 EST 2006


At Thursday 7/12/2006 12:16, El Pitonero wrote:

>Is there something equivalent to the "-u" option for a shell like
>"bash"? In general (whether the subprocess is bash or python), how can
>one make sure that once something is written into the subprocess'
>stdin, the output from its stdout is fully completed and the subprocess
>is ready to receive another command? Is there some kind of signal or
>return status code one can capture?

Not in the general case, AFAIK.


-- 
Gabriel Genellina
Softlab SRL 

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar



More information about the Python-list mailing list