Hi there, I'm working on a small XCode project to get my C++ skills up to par again. I need to retrieve the username to use with a path command in "int execpl(char *path, char *arg, ...)". Since this app is going to run on somebody else's Mac and I don't know his username, I need a smart way to retrieve it. I could get it from the environment variable $USER but I don't know how to do this in C++. Anyone?