run shell commands

Riccardo Maria Bianchi rbianchi at physik.uni-freiburg.de
Thu Jan 10 09:24:37 EST 2008


Hello! :)

I'm trying to run shell commands both with os.system() and 
subprocess.Popen() class.

But I can't run aliases or function defined in my .bashrc file, like in 
the login interactive shell.

Can you help me?
Maybe have I to add some commands to load the .bashrc?

Thanks a lot! :)

    Ric.




More information about the Python-list mailing list