[Ns-bugs] [Bug 474] waf output to stderr

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Mon Jan 19 08:02:28 PST 2009


http://www.nsnam.org/bugzilla/show_bug.cgi?id=474





--- Comment #2 from TimoB <timo.bingmann at student.kit.edu>  2009-01-19 11:02:28 EDT ---
Yes, sure you can redirect stderr.

However my issue is a different one: the scratch program outputs debug traces,
gnuplot data or whatever on stdout.

But waf also outputs to stdout, so the output gets mixed. And gnuplot does not
like

[  1/251] cxx: scratch/three-nodes-capture-border.cc ->
build/debug/scratch/three-nodes-capture-border_8.o
[251/251] cxx_link: build/debug/scratch/three-nodes-capture-border_8.o ->
build/debug/scratch/three-nodes-capture-border

in it's data files. Yes, I could just write a file directly, but it's easier to
use std::cout.


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Ns-bugs mailing list