Skip to content
Snippets Groups Projects
Commit 9fe2a7d9 authored by Raymond Toy's avatar Raymond Toy
Browse files

Merge branch 'rtoy-32-no-before-execve-option' into 'master'

Fix #32: Remove :before-execve option

The documentation for this keyward option to run-program was
commented, but the actual option was not removed from the list of
options for run-program.

Remove it.

See merge request !14
parents d6ae3337 2cc0df30
No related branches found
No related tags found
No related merge requests found
......@@ -1099,7 +1099,7 @@ It is possible to run programs from Lisp by using the following function.
\morekeys{\kwd{if-input-does-not-exist}}
\yetmorekeys{\kwd{output} \kwd{if-output-exists}}
\yetmorekeys{\kwd{error} \kwd{if-error-exists}}
\yetmorekeys{\kwd{status-hook} \kwd{before-execve}}}}
\yetmorekeys{\kwd{status-hook}}}}
\code{run-program} runs \var{program} in a child process.
\var{Program} should be a pathname or string naming the program.
......
......@@ -315,3 +315,9 @@
(:tag :issues)
(let* ((test-file #.(merge-pathnames #p"resources/issue-24.lisp" cl:*load-pathname*)))
(assert-true (compile-file test-file :load t))))
(define-test issue.32
(:tag :issues)
(assert-error 'kernel:simple-program-error
(ext:run-program "cat" nil
:before-execve t)))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment