Fabric: Use Bash Shell for Local Command
July 24, 2015
I love the fabric python library for project deployment and administration tasks. Its default of using /bin/sh as the shell for the “local()” function seems to be causing people some grief. Luckily, fabric gives you the option to set the desired shell, but it can be a pain to do for each local() command. Here’s a quick work around: