renderer process does not call OnBeforeCommandLineProcessing

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

renderer process does not call OnBeforeCommandLineProcessing

Postby YogeshTembe » Thu Apr 06, 2023 10:31 am

I want to add/modify/remove command line arguments in renderer process ( sub-process having --type=renderer ).

1)renderer process is created by zygote process.
zygote process is calling "OnBeforeCommandLineProcessing" but renderer process is not calling "OnBeforeCommandLineProcessing". why is that ?

2)Does renderer process pick flags from zygote process itself ? So it will pick intial flags or it will pick the flags modified after "OnBeforeCommandLineProcessing" ?

3)The few flags in renderer process are not there when process comes in "OnBeforeChildProcessLaunch" function but later if we list running processes then they show up.
Is there any other method available to add/modify/remove commandline arguments of renderer process ?

Please let me know if anyone has worked on render process command line flags. Thanks.
YogeshTembe
Techie
 
Posts: 23
Joined: Tue Sep 14, 2021 6:01 am

Return to Support Forum

Who is online

Users browsing this forum: Majestic-12 [Bot] and 189 guests