You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Impossible to see stderr and stdout of release builds on Windows #578
I set the configuration attribute windows-subsystem="windows" for Windows release builds to avoid having a terminal running alongside Sniffnet when opening the app by clicking on its icon.
However, this prevents users to see stderr and stdout even when launching the app from terminal; in case of errors, this doesn't allow to see a trace of the problem, making debug more difficult.
Additional context
A possible solution that comes to my mind is to redirect stdout and stderr to a new file in the app's configuration directory.
Activity
T-256 commentedon Oct 15, 2024
try:
sniffnet.exe | moreGyulyVGC commentedon Nov 29, 2024
Piping doesn't work since the shell running the app is killed instantly. Anyway I'm fixing this by redirecting all outputs to a file in #645.