SB-EXT:RUN-PROGRAM Fails when DIRECTORY is NIL
Bug #1265077 reported by
Wilfredo Velázquez-Rodríguez
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The documentation for SB-EXT:RUN-PROGRAM states the following:
:directory
Specifies the directory in which the program should be run. nil (the default) means the directory is unchanged.
This implies that you should be able to explicitly pass DIRECTORY as NIL ala
(run-program "my-program" () :directory nil)
However, doing so signals a type error:
The value NIL
is not of type
(OR (VECTOR CHARACTER) (VECTOR NIL) BASE-STRING PATHNAME
FILE-STREAM).
[Condition of type TYPE-ERROR]
I've attached a simple patch to fix this.
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
In 82cd148d729c241 e79c8df04b700be ec1b7c55de, thanks.