As the unix command which it searches in dirs for an executable name.
The difference in the behavior is that this function returns all matches and supports globbing (use of *).
writeln(which([Path("/bin")], "ls")); writeln(which([Path("/bin")], "l*"));
See Implementation
As the unix command which it searches in dirs for an executable name.
The difference in the behavior is that this function returns all matches and supports globbing (use of *).