From: Nicholas Y. <su...@su...> - 2005-06-23 10:58:06
|
On Wed, 2005-06-22 at 11:45 -0600, Fernando Perez wrote: > os.environ['TEXMFOUTPUT'] = '/some/path' According to the online docs (http://docs.python.org/lib/os-procinfo.html) setting os.environ isn't safe/available for all platforms. You can use the subprocess module to set the environment of a subprocess under python 2.4 but I don't think there's a simple way to do this and capture the output for earlier versions. Nick |