Use the default shell to capture shell output....
Use the default shell to capture shell output.
Adhere to the user $SHELL choice when capturing output from system
commands. This makes the getoutput() behavior consistent with
that of the system() interactive function.