canRun method

  1. @override
bool canRun(
  1. covariant String executable, {
  2. String? workingDirectory,
})
override

Returns true if the executable exists and if it can be executed.

Implementation

@override
bool canRun(covariant String executable, {String? workingDirectory}) =>
    getExecutablePath(executable, workingDirectory) != null;