Command objects provide no binary access
Kevin Reid <[email protected]>
| Newsgroups | gmane.comp.lang.e.general |
|---|---|
| Message-ID | <[email protected]> |
The Command objects (from privilegedScope["makeCommand"] / org.erights.e.elib.extern.CommandMakerAuthor) have the following flaws: 1. No way to retrieve the command results as binary data. 2. No way to retrieve the results as streams. 3. No way to supply the input as a stream (text or binary). 4. The ability to execute the command promptly ought to be a separate authority, since it is unsafe both by causing blocking and by receiving outside input inside of a turn. I would suggest that a given Command ought to be reducible to an eventual-only facet, and/or provide two different constructor methods on makeCommand. -- Kevin Reid <http://switchb.org/kpreid/>