J.B. Brown:

> I believe the source of this problem is that os.popen() or os.system()
> calls spawn subshells which then reference my shell resource files
> (.zshrc, .cshrc, .bashrc, etc.).
> But I don't see an alternative to os.popen{234} or os.system().
> os.exec*() cannot solve my problem, because it transfers execution to
> that program and stops executing the script which called os.exec*().

   Call fork then call exec from the new process. Search the web for
"fork exec" to find examples in C.

   Neil
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to