This question and answer demonstrates how to use Python's subprocess
module to interact with bash
from Python.
So if subprocess
doesn't use the system's default shell, then what shell does it use to run commands like this:
import subprocess
print subprocess.check_output(["ls", "-la"])