Run command with modified CWD (current working directory)