whichEx function

bool whichEx(
  1. String exeName
)

Implementation

bool whichEx(String exeName) =>
    which(exeName).found ||
    (Platform.isWindows &&
        (which('$exeName.exe').found || which('$exeName.exe').found));