isExecutable function
checks if the passed path (a file or directory) is
executable by the user that owns this process
@Throwing(posix.StatException)
@Throwing(UnsupportedError)
Implementation
bool isExecutable(String path) {
core.verbose(() => 'isExecutable: ${truepath(path)}');
return Settings().isWindows || _checkPermission(path, _executeBitMask);
}