Commit 3ca6932
committed
Fix: Prevent console window flashing on Windows
- Add CREATE_NO_WINDOW flag to all subprocess calls on Windows
- Add --noconsole flag to PyInstaller for extra safety
- Fixes brief command prompt window appearing on startup
Changes:
- network_monitor.py: Use CREATE_NO_WINDOW for ping and ipconfig
- build.py: Add --noconsole flag for Windows builds1 parent 800770e commit 3ca6932
2 files changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
106 | 112 | | |
107 | 113 | | |
108 | | - | |
109 | | - | |
| 114 | + | |
110 | 115 | | |
111 | 116 | | |
112 | 117 | | |
| |||
416 | 421 | | |
417 | 422 | | |
418 | 423 | | |
419 | | - | |
| 424 | + | |
420 | 425 | | |
421 | 426 | | |
422 | 427 | | |
| |||
0 commit comments