相关文章推荐
豪情万千的小熊猫  ·  tab1 = ...·  1 月前    · 
满身肌肉的水桶  ·  c# - What is the ...·  11 月前    · 
有胆有识的黄瓜  ·  Uncaught TypeError: ...·  1 年前    · 
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

I have CefSharp-master project with which is Built on Chromium- 31.0.1650.57. All is working fine and perfect. But while Initializing settings.BrowserSubprocessPath is set to an executable.

What is this BrowserSubprocessPath ? what happen if I avoid this?

I am Initializing Cef as:

    public static void Init()
        var settings = new CefSettings();
        settings.UserAgent = "MyBrowser";         
        if (!Cef.Initialize(settings))
            if (Environment.GetCommandLineArgs().Contains("--type=renderer"))
                Environment.Exit(0);
                return;

This is working fine, Only after sometime browser window goes blank.What is the reason behind this.

Does #456 answer your question? Also ... please please extend this question so it has "MVCE" as linked to in meta.stackoverflow.com/a/269536/210723. E.g are you seeing this with CefSharp.Wpf.Example or CefSharp.WinForms.Example? – jornh Aug 24, 2014 at 13:35

When you set SingleProcess = false you should define sub-process executable file for it:

http://xilium.bitbucket.org/cefglue/doc/html/E3568E23.htm

So you can set SingleProcess = true (which is not recommended in production) or set it to a sub-process file like cefclient.exe

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question. Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.