How to pass shell variable to shell script from python

Philipp Pagel pDOTpagel at helmholtz-muenchen.de
Wed Feb 27 07:19:51 EST 2008


Gerardo Herzig <gherzig at fmed.uba.ar> wrote:
> Rockins Chen wrote:
> Well, if you have to use os.system, that could be
> os.system("export target=localhost.localdomain.org; ./callee.sh")

Or os.system("env target=localhost.localdomain.org ./callee.sh")

cu
	Philipp

-- 
Dr. Philipp Pagel
Lehrstuhl f. Genomorientierte Bioinformatik
Technische Universität München
http://mips.gsf.de/staff/pagel



More information about the Python-list mailing list