OpenVPN / OpenVPN/openvpn3

Disabling consoles flash on Windows

Open
#213 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1.2k
Forks
467
PR merge metrics
No merged PRs in 30d

Description

Hello.
It may be small enhancement, but on windows, connect function makes few successive console flashes appear (which means some commands are being run through the console). This is not convenient to see.
I traced it and found that if we changed the creation flag for the function CreateProcesssW (openvpn/win/call.hpp, line: 117) to be CREATE_NO_WINDOW (instead of 0), consoles stop appearing.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in openvpn/win/call.hpp around line 117, where the connect function calls CreateProcessW and sets the creation flag. Verify the Windows behavior with CREATE_NO_WINDOW and confirm that connecting no longer produces successive console flashes.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
operating-systems
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.