-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
The documentation in spawn.mli says:
[prog] is not searched in [PATH]. It is up to the caller to do the path resolution before calling this function.
However, it does not explain how the caller is expected to do that.
There are perhaps many ways to achieve in OCaml, nevertheless I propose that the documentation briefly mentions which method the library author(s) had in mind, and/or which method they are actually using when faced with that task.
Even better would be an actual helper function to resolve that, e.g.
spawn ... ~prog:(resolve_path prog_name) ...Metadata
Metadata
Assignees
Labels
No labels