find method
the file to start, or null when there is none
Implementation
Uri? find() {
String self = _real(executable);
for (String path in candidates()) {
if (!File(path).existsSync()) continue;
// also when one of the two is a link to the other
if (p.equals(_real(path), self)) continue;
return Uri.file(path);
}
return null;
}