Use the which utility

to find the glexec in the PATH (if it's there)