Re: Separating stdout and stderr
Ben Elliston <[email protected]>
| Newsgroups | gmane.comp.sysutils.dejagnu.general |
|---|---|
| Message-ID | <[email protected]> |
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 _______________________________________________ DejaGnu mailing list [email protected] https://lists.gnu.org/mailman/listinfo/dejagnu
signature.asc
(application/pgp-signature, 811 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIVAwUBVvz123Y2KIi1WYjUAQixaQ//RF36uDh/Atq9oFVBdX7jBQmXbdXHtrYy gGxntnM9SoktmALF//q2EBga0lZ15xnRtjwhuIYPIpDVG0kDWxfrDGZ+/sdGRPGW Qr9fgmJOqCljA9JggR9XPIx0TSCppZ7bfQAPyDOuYKeKRFnlXoK5VgCtCpHRwHq9 bNXrx1GkEfOJ6jqPQOksdeDNGSpIdjCksQYJbsT6HJqZj6eD+cy93sA8wJXaaKQQ 9VjYhqJy6qSc93LsX1lqVAsxbpSm/I0Pg/ZU41Kpp509tPTMk54MBFNXcja7L9Ci cLjS7VqdcMcuO+ZoUsfrwcQuS7qfMTIsNpeb5hq4fvPEkYAU8Bha/cvg76UUhXZ+ FgDBuBR3engUBdWDyhb5eb1icGaEqWy1QEZnOVG/d3gbwaM/mlMBfHpNDXwEwQtK KisneJMdLWqaBDaGNrlgdhsbVe5poHzGSPNYO9NZhfYX4eVWNgibpd34EcqA7o6q SSYPUuBL/vZ8O476I79ZVUt7dQ2w1gX7d8GF5ldktLySvErEU/9K9HRoIQkHHuHq HZjN5zffhuOroDhX82KbrBNqldi21KqdjLkMAgeNwnu7k3B/RSZbSArQZMNlcS0r h/JVEJkSqB2rN+47AefhLlXMUi8Eo85ZKcRGskjj0q/F1mCZNOirTiP5vGhMQTMf R5NY7ZMnhtw= =+lDK -----END PGP SIGNATURE-----