Allow setting exec user for project and exec

Hi,

In my project, I need to exec composer commands under a specific UID/GID. This is because I am replicating an environment where the project is allocated its own user and home directory. Currently I've simply hacked your code to prepend sudo to composer commands. Can you think of a better way to do that?