[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Separating stdout and stderr
From: |
Ben Elliston |
Subject: |
Re: Separating stdout and stderr |
Date: |
Thu, 31 Mar 2016 21:03:08 +1100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Thu, Mar 31, 2016 at 11:11:14AM +0200, Christophe Lyon wrote:
> It seems that the remote stdout/stderr are merged by tcl, rather
> than dejagnu, since replacing "|&cat" in dejagnu with "2>/dev/null"
> does not discard the remote stderr contents.
BTW, I just confirmed through careful reading of the Tcl exec man page
that: "If any of the commands writes to its standard error file and
that standard error is not redirected and -ignorestderr is not
specified, then exec will return an error; the error message will
include the pipeline's standard output, followed by messages about
abnormal terminations (if any), followed by the standard error
output."
So standard error always follows standard output for Tcl exec. It's
not interleaved.
Ben
signature.asc
Description: Digital signature
- Re: Separating stdout and stderr, (continued)
- Re: Separating stdout and stderr, Christophe Lyon, 2016/03/26
- Re: Separating stdout and stderr, Ben Elliston, 2016/03/26
- Re: Separating stdout and stderr, Christophe Lyon, 2016/03/29
- Re: Separating stdout and stderr, Ben Elliston, 2016/03/29
- Re: Separating stdout and stderr, Christophe Lyon, 2016/03/30
- Re: Separating stdout and stderr, Ben Elliston, 2016/03/30
- Re: Separating stdout and stderr, Maxim Kuvyrkov, 2016/03/30
- Re: Separating stdout and stderr, Christophe Lyon, 2016/03/30
- Re: Separating stdout and stderr, Maxim Kuvyrkov, 2016/03/31
- Re: Separating stdout and stderr, Christophe Lyon, 2016/03/31
- Re: Separating stdout and stderr,
Ben Elliston <=
- Re: Separating stdout and stderr, Christophe Lyon, 2016/03/31
- Re: Separating stdout and stderr, Ben Elliston, 2016/03/31
- Re: Separating stdout and stderr, Christophe Lyon, 2016/03/31
- Re: Separating stdout and stderr, Christophe Lyon, 2016/03/31