changing browser-subprocess-path question

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.

changing browser-subprocess-path question

Postby Marcin » Wed Jan 14, 2015 10:38 am

Hi,

I am not sure the path I want to go is "allowed", so please advice if it's ok what I want to achieve or not.

I know CefInitialize spawns a process specified by settings.browser_subprocess_path and every new browser that I create "spawns" another process with CefBrowserHost::CreateBrowser.

Suppose now I want with specific browser to specify different process executable, i.e. specify another browser_subprocess_path. As CefInitialize cannot be called second time, I want to modify command line switch -- browser-subprocess-path in OnBeforeCommandLineProcessing.

Does it make sense, will it be ok ? no side effects ?

thx in advance

regards

M.
Marcin
Techie
 
Posts: 37
Joined: Fri Dec 06, 2013 5:07 am

Re: changing browser-subprocess-path question

Postby magreenblatt » Wed Jan 14, 2015 11:27 am

What you're requesting is not currently possible, but if it were possible (via modifications to Chromium source code) then it would likely be OK. The browser-subprocess-path is only used from the browser process so you can't change it on a per-subprocess basis using OnBeforeCommandLineProcessing.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: changing browser-subprocess-path question

Postby Marcin » Wed Jan 14, 2015 3:00 pm

understood, thx.

M.
Marcin
Techie
 
Posts: 37
Joined: Fri Dec 06, 2013 5:07 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 108 guests