better shell_exec which optionally forces use of login shell scripts for paths, etc.