Disabling consoles flash on Windows
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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