how to modify command line before renderer process starts?

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.

how to modify command line before renderer process starts?

Postby Streamlet » Tue Nov 05, 2019 4:04 am

A.T.T.

I need to add something visible (e.g., --browser_id=browser1) to the renderer process command line so that we could see which renderer process matches their browser objects through Windows task manager. Could I?
Streamlet
Mentor
 
Posts: 61
Joined: Tue Aug 27, 2019 6:47 am

Re: how to modify command line before renderer process start

Postby Czarek » Tue Nov 05, 2019 4:10 am

You can modify child process command line in CefBrowserProcessHandler::OnBeforeChildProcessLaunch callback.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Re: how to modify command line before renderer process start

Postby Streamlet » Tue Nov 05, 2019 4:11 am

Czarek wrote:You can modify child process command line in CefBrowserProcessHandler::OnBeforeChildProcessLaunch callback.


I need some info about browser object
Streamlet
Mentor
 
Posts: 61
Joined: Tue Aug 27, 2019 6:47 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 66 guests