Commit a4f8551b authored by mevenson@1c010e3e-69d0-11dd-93a8-456734b0d56f's avatar mevenson@1c010e3e-69d0-11dd-93a8-456734b0d56f
Browse files

Better support for uiop/run-program::%run-program (pipping)

parent 44463e96
......@@ -197,7 +197,10 @@ The &key arguments have the following meanings:
(when (and value (probe-file value))
(ecase if-does-exist
(:error (error "Output file ~S does already exist." value))
(:supersede (rename-file (make-temp-file) value))
(with-open-file (f value
:direction :output
:if-exists if-does-exist)))
(:append (setf appendp T))
((NIL) (return-from setup-output-redirection))))
(if appendp
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment