[e-lang] Command objects provide no binary access
Kevin Reid
kpreid at mac.com
Wed Jul 29 13:07:55 EDT 2009
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/>
More information about the e-lang
mailing list