shell: fallback to /bin/bash or /bin/sh if $SHELL not present
exec: use additional arguments as a command to exec

This is easier to quote this way. However, since the command is put
inside a file execute by `/bin/sh`, this still needs some kind of
quoting.