If you haven't already done so, the code I added has
somecontext->RaiseCondition() method calls that should be reviewed for
their appropriateness.
Gil
On 4/13/2018 11:57 AM, Rick McGuire wrote:
ERROR and FAILURE conditions are related to the execution of the
command itself. Other sorts of failures in the redirection should
probably be SYNTAX condition, probably in the Error_Execution category.
Rick
On Fri, Apr 13, 2018 at 11:37 AM, Erich Steinböck
<erich.steinbo...@gmail.com <mailto:erich.steinbo...@gmail.com>> wrote:
would the RC .. be the value from the executed command itself
.. (rather than from "rxqueue")?
Yes, the rc from the command.
With this implementationrxqueue isn't involved at all, the
redirection is done through Windows/Unix pipes.
Q:
With redirection we will have (potentially many, but still rare)
additional FAILURE situations. Currently a FAILURE is probably
always due to an unknown command. We have documented that for
FAILURE the descriptive string is the command that was scheduled
to run. In case of redirection-related failures, should we provide
more detailed error information in the ADDITIONAL object
(currently FAILURE does not have an ADDITIONAL object). If so,
what kind of object should we return? An array of strings,
similar to the SYNTAX ADDITIONAL object? E. g. "input", "error
creating pipe"? Or is that too much detail? Just a SYNTAX
"resources exhausted"?
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
<mailto:Oorexx-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/oorexx-devel
<https://lists.sourceforge.net/lists/listinfo/oorexx-devel>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel
--
Gil Barmwater
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel