Returns true if the executable exists and if it can be executed.
true
executable
bool canRun(dynamic executable, {String? workingDirectory});