get exec path from shell