On Aug 6, 11:58 am, Piet van Oostrum <p...@cs.uu.nl> wrote:
> >>>>> Kosta <kosta.koe...@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 <p...@cs.uu.nl>
> URL:http://pietvanoostrum.com[PGP 8DAE142BE17999C4]
> Private email: p...@vanoostrum.org

Piet,

Yes you are correct.  Thinking more about parent/child processes and
what I am doing: opening a cmd window (its own process), starting up
Python (a child process), and then attempting to run setenv.bat (a
child process to Python), and yes I'm out of luck.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to