canRun method
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;