The interface vector will always be supplied, so it is necessary to test
each of the streams. It would be a simple matter for a single check API to
be added.

Rick

On Mon, Apr 2, 2018 at 12:46 PM, Erich Steinböck <[email protected]
> wrote:

> You'll be passed a small interface vector with just 6 functions:
>> IsInputRedirected(), IsOutputRedirected(), IsErrorRedirected(),
>> ReadInput(), WriteOutput(), WriteError().
>
> What is the suggested method for a command handler to figure out whether
> at all there is some redirection to be done?
> Will the interface vector be NULL?
> Or will it be supplied even if no redirection is to take place, and the
> handler should test all three IsXxxRedirected() functions?
>
>
>
> ------------------------------------------------------------
> ------------------
> 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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to