Wireshark-bugs: [Wireshark-bugs] [Bug 8609] Redirection of "wireshark.exe -D" to a text file is
Date: Thu, 25 Apr 2013 20:09:33 +0000

Comment # 13 on bug 8609 from
(In reply to comment #12)
> Well, it appears that, at least on XP, AttachConsole(ATTACH_PARENT_PROCESS)
> claims to succeed, but doesn't appear to make the output go to the console;
> that may be what's happening in bug 7755.

Or maybe it's just that a Cygwin terminal window isn't a console in the Windows
sense, so running the tests from a shell prompt in that window doesn't work;
the output *does* go to the console in a cmd.exe prompt.  (It works a little
better if you do

    start/wait wireshark -D

because, if you do that, you don't get a shell prompt until Wireshark exits;
Wireshark's built for the Windows subsystem, not the console subsystem, so
cmd.exe doesn't, by default, wait for it to finish before printing a shell
prompt.)

Redirecting to a file doesn't work, but I think that's the other bug I noted,
where, when we create a console, we forcibly redirect out from under whatever
redirect the user did.


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