Shell used by os.system
bjg at network-theory.co.uk
Wed Aug 25 12:35:50 CEST 2004
Jacek Generowicz <jacek.generowicz at cern.ch> writes:
> Is there a way of specifying the shell in which os.system commands are
> executed? Is there a way of specifying what startup scripts should
> be read?
It uses the underlying system() function, and that calls /bin/sh -c ...
on Unix systems.
Network Theory Ltd,
Publishing the Python Manuals --- http://www.network-theory.co.uk/python/
More information about the Python-list