Wireshark-bugs: [Wireshark-bugs] [Bug 8609] Redirection of "wireshark.exe -D" to a text file is

Date: Wed, 24 Apr 2013 22:33:56 +0000

changed bug 8609

What Removed Added
Hardware x86 All

Comment # 7 on bug 8609 from
Currently, our create_console() routine will, if it doesn't think the process
has a console, attempt to attach to the parent process's console (so that, if
you run Wireshark from the command line, it'll attach to that console window)
and, if that fails, will pop open a new console window.

So all the cases where Wireshark would print something to the standard output,
we should run it through a routine that, on Windows, calls create_console()
first, to make sure that, if the standard output hasn't been redirected, it
shows up in the console (or pops up a console if that's necessary; yes, that'll
pop up a useless console if you run "wireshark -D" from a process that
*doesn't* have a console and run it with the standard output redirected to a
file, but, well, *don't do that* if that's a problem - use tshark or dumpcap
instead).


You are receiving this mail because:
  • You are watching all bug changes.