In Python, when I run a command with
os.systemwhat shell gets used?
11 Answer
By default it will run in the Bourne shell (that would be /bin/sh).
os.system("/bin/bash \"echo 'Rincewind rules' \" ") to use bash and have it echo "Rincewind rules".