canRun method

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

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

Implementation

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