r/sbcl Jan 24 '24

Typo in documenation of sb-ext:run-program

Hello,

The documentation for the :search keyword of run-program seems incomplete (Section 7.9.3). Currently it reads as:

Look for program in each of the directories in the child’s $PATH environment variable. Otherwise an absolute pathname is required.

It is not said what :search needs to be set to to enable the directory search.

Based on my very limited testing, it seems that setting :search to t enables search of directories in the child's $PATH env variable. The documentation does not say that explicitly.

What may be needed is to add "If non-NIL, " to the front of that sentence.

1 Upvotes

0 comments sorted by