Resolves command path from current PATH.
binary name to resolve.
resolved path, or null when not found.