Library: Process execution (OMPROCESS)
Import : omprocess.xmd
export function glob value string file-pattern in-directory value string initial-directory optional into write-only string pathnames
glob function is used to generate a list of filenames that match a given pattern. The
expansion of the pattern into a list of filenames is platform-dependent.
If initial-directory is not specified, it defaults to the empty string; this is interpreted
as the current working directory on all platforms. On the other hand, if initial-directory is
specified, has a non-zero length, and does not end with a slash (
/), one is appended.
glob function returns, the
pathnames contains the matched filenames, if any.
The following exception may occur:
Unable to glob pattern.