Shell used by os.system

Brian Gough 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[1]? 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.

-- 
Brian Gough

Network Theory Ltd,
Publishing the Python Manuals --- http://www.network-theory.co.uk/python/



More information about the Python-list mailing list