Ticket #216 (new enhancement)

Opened 1 year ago

Last modified 6 months ago

Provide keyword arguments to process-run-function pipe streams

Reported by: danieldickison Assigned to: gb
Priority: major Milestone:
Component: Compiler Version:
Keywords: stream process thread locking Cc:

Description

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.

Attachments

run-program-sharing.diff (2.8 kB) - added by danieldickison on 01/05/08 11:26:55.
Patch to add a single :sharing argument to run-program

Change History

01/05/08 11:26:55 changed by danieldickison

  • attachment run-program-sharing.diff added.

Patch to add a single :sharing argument to run-program