Skip to content

Impossible to see stderr and stdout of release builds on Windows #578

Closed

Description

@GyulyVGC

Is there an existing issue for this?

  • I have searched the existing issues.

What's the problem?

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

  1. added
    WindowsSomething related to Windows operating system
    on Aug 2, 2024
  2. added this to the v1.3.2 milestone on Aug 2, 2024
  3. self-assigned this
    on Aug 2, 2024
  4. T-256 commented on Oct 15, 2024

    @T-256

    try: sniffnet.exe | more

  5. GyulyVGC commented on Nov 29, 2024

    @GyulyVGC
    OwnerAuthor

    try: sniffnet.exe | more

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

WindowsSomething related to Windows operating systembugSomething isn't working

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions