Using Python to automate builds
Piet van Oostrum
piet at cs.uu.nl
Thu Aug 6 14:58:13 EDT 2009
>>>>> Kosta <kosta.koeman at gmail.com> (K) wrote:
>K> My interpretation of the above (and your email) is that using Popen
>K> allows one to pass the Python environment to a child processs (in my
>K> case, setenv.bat). I need the reverse, to propagate from the child
>K> to the parent.
I don't think there is any modern OS that allows that. Unless you use
your own protocol of course, like letting the child write the
environment to its stdout and reading and interpreting it in the parent.
--
Piet van Oostrum <piet at cs.uu.nl>
URL: http://pietvanoostrum.com [PGP 8DAE142BE17999C4]
Private email: piet at vanoostrum.org
More information about the Python-list
mailing list