execWhich method
Call POSIX which
command.
Calls exec with command which
and args commandName
.
Caches response than returns the executable path for commandName
.
Implementation
Future<String?> execWhich(String commandName,
{bool ignoreCache = false, String? def}) async =>
runner.dockerHost
.execWhich(name, commandName, ignoreCache: ignoreCache, def: def);