I'm using a python program to open wireshark to use a plugin I wrote. However, the debug console won't show up when my python program opens wireshark. If I open wireshark normally, the debug console works fine, but I need the console to open when my python program opens wireshark. Any ideas? asked 21 Oct '15, 09:54 swelna |
Maybe.
Some questions first:
I am running Windows 7 Enterprise SP1. My Wireshark version is 1.12.0. I'm using a python subprocess with the function Popen(), however, I can't currently post my code. Finally, When I say start wireshark "normally", I mean double clicking the shortcut on my desktop.
The debug console will only apprear if you start Wireshark from the GUI, as there would be no console to print messages to STDOUT and STDERR. If you call Wireshark from Python with popen(), you should be able to read STDOUT and STDERR directly (https://www.google.com/?q=python%20popen%20stdout ). If you don't know how to do that, please ask in a Python forum, as this is more a Python question than a Wireshark question.