Ticket #216 (closed enhancement: fixed)
Provide keyword arguments to process-run-function pipe streams
|Reported by:||danieldickison||Owned by:||gb|
|Priority:||major||Milestone:||Clozure CL 1.4|
|Keywords:||stream process thread locking||Cc:|
Given the new features for streams, namely the :sharing and :external-format improvements, it would be nice to be able to specify these keyword arguments for streams when doing something like:
(process-run-function "foo" #'foo :input :stream :output :stream)
I think having new keyword parameters like :input-args etc. would be better than adding a new keyword for each parameter (i.e. :input-sharing, :input-external-format, etc). Does this seem like a reasonable solution? (If so I can try to put a patch together to do this).
Alternatively, if a pipe stream creation API was exported (with support for these keyword options), then it would make it possible to create the pipe streams first, and simply pass them into process-run-function.