System.Directory module provides findExecutablesInDirectories
function, which takes a list of directories, file to search and returns a list
of all occurrences that are executable.
Previous
Next
Home
Following is the signature of findExecutablesInDirectories
function.
findExecutablesInDirectories ::
[FilePath] -> String -> IO [FilePath]
Prelude System.Directory> findExecutablesInDirectories ["/usr/bin", "/Users/harikrishna_gurram", "/var"] "javac" ["/usr/bin/javac"]
No comments:
Post a Comment