Commit 076f8dc
Fix Linux CefMainArgs empty command line; log subprocess type
cefpython.pyx: Linux was using the default CefMainArgs() constructor
(argc=0, argv=nullptr), leaving Chromium's base::CommandLine with no
program name. CEF 146 relies on a valid CommandLine::GetProgram() when
bootstrapping IPC shared-memory channels for subprocesses (global
descriptor 7). Pass argc=1, argv[0]=sys.executable so Chromium has a
proper program name to work from.
cefpython_app.cpp: change OnBeforeChildProcessLaunch log from INFO to
ERROR so the subprocess command line (including --type=) is visible in
CI output regardless of log_severity setting, aiding diagnosis.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent ebc151a commit 076f8dc
2 files changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
577 | 577 | | |
578 | 578 | | |
579 | 579 | | |
580 | | - | |
581 | | - | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
582 | 587 | | |
583 | 588 | | |
584 | 589 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
| 207 | + | |
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| |||
0 commit comments