Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

Sub Process

[email protected] edited this page Nov 29, 2019 · 1 revision

CefGlue Sub-Process

Chromely provides cross-platform implementations of Sub-process in Subproceses. This is based on CEF Sub-process Description and CefSharp implementation.

The sub-process projects can be used for:

  • Windows x86 and x64
  • Linux x64
  • Mac x64

On Windows

All CefGlue Windows applications can use a default sub-process. To use the the default sub-process on Windows nothing needs configured.

A typical sub-process Windows app will look like:

On Linux

For Linux applications, the developer needs to publish and configure a sub-process executable using the Chromely.CefGlue.Linux.Subprocess project and configures it as described below.

On Mac

For Mac applications, the developer needs to publish and configure a sub-process executable using the Chromely.CefGlue.Mac.Subprocess project and configures it as described below.

Configuring a Sub-process

On Windows to set or unset the default configuration. This set to "true" by default.

var config = ChromelyConfiguration
               .Create()
                .....
               .UseDefaultSubprocess(true | false)
                .....

For Linux, Mac and to override Windows default setting:

var config = ChromelyConfiguration
             .Create()
              .....
             .WithCustomSetting(CefSettingKeys.BrowserSubprocessPath, full_path_to_subprocess)
             ....

CefSharp Sub-Process

Chromely uses CefSharp sub-process as-is as provided by CefSharp. For more info please check CefSharp General Usage.

Clone this wiki locally