py/shell-command-constructed-from-input
It's a very direct port from Ruby, with only minor adjustments to fit the Python APIs