On Thu, Mar 31, 2016 at 12:11:59PM +0200, Christophe Lyon wrote:

> But since we currently have "|&cat", we do redirect stderr, so the
> "and that standard error is not redirected" claude above is not
> fulfilled. Do you know what happens in this case?

No, but I would suggest that it is cleaner and more portable to use
Tcl exec's own way of doing this:

2>@1
    Standard error from all commands in the pipeline is redirected to
    the command result. This operator is only valid at the end of the
    command pipeline.

This is used like an option, before the actual command.

Give that a go. It might work better.

Ben

Attachment: signature.asc
Description: Digital signature

_______________________________________________
DejaGnu mailing list
DejaGnu@gnu.org
https://lists.gnu.org/mailman/listinfo/dejagnu

Reply via email to