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/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.