Shell used by os.system

J

Jacek Generowicz

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?


[1] On systems where this makes sense, of course.
 
B

Brian Gough

Jacek Generowicz said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,204
Messages
2,571,063
Members
47,670
Latest member
micheljon

Latest Threads

Top