Shell used by os.system

Brian Gough bjg at
Wed Aug 25 12:35:50 CEST 2004

Jacek Generowicz <jacek.generowicz at> 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 ---

More information about the Python-list mailing list