Module

Which

Package
purescript-which
Repository
maxdeviant/purescript-which

#WhichOptions Source

#whichSync Source

whichSync :: Maybe (Options WhichOptions) -> String -> Effect (Maybe String)

Returns the first instance of a specified executable in the PATH environment variable.

Returns Nothing if the executable is not found.

#whichAllSync Source

whichAllSync :: Maybe (Options WhichOptions) -> String -> Effect (Maybe (NonEmptyArray String))

Returns all instances of a specified executable in the PATH environment variable.

Returns Nothing if no executables are found.

#path Source

path :: Option WhichOptions (Maybe String)

The path to use in place of the PATH environment variable.

#pathExt Source

pathExt :: Option WhichOptions (Maybe String)

The path to use in place of the PATHEXT environment variable.

Modules
Which