cefsharp / Questions-and-Support

Use this repository to ask CefSharp specific questions
BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

How Can I Hide CefShapp.BrowserSubprocess.exe From Task Manager? #23

Closed Lebweuh closed 4 years ago

Lebweuh commented 4 years ago

Im running multiple (like 10) cefsharp processes and if you look task manager there are 10 CefShapp.BrowserSubprocess.exe How can i hide it from TaskManager?

taskmanager image: here How can i hide it from task manager?

(if my english is bad, sorry)

amaitland commented 4 years ago

There's no way that I'm aware of.

You can self host the browser sub process so your executable is used instead similar to how chrome launches multiple instances of Chrome.exe

Lebweuh commented 4 years ago

There's no way that I'm aware of.

You can self host the browser sub process so your executable is used instead similar to how chrome launches multiple instances of Chrome.exe

yeah i understood. chrome does that. but how to do that?

amaitland commented 4 years ago

It depends on what features you use. If you use just the basic browser and nothing else then you can look at https://github.com/cefsharp/CefSharp/blob/cefsharp/83/CefSharp.WinForms.Example/Program.cs#L28 for an example.

If you wish to self host the browser sub process that CefSharp provides then I upgraded the minimal example to demo this for .net core see https://github.com/cefsharp/CefSharp.MinimalExample/commit/898eb755c6bb7f504f9b5bdc889ff9142e105848 use https://github.com/cefsharp/CefSharp/blob/cefsharp/83/CefSharp.BrowserSubprocess.Core/WcfBrowserSubprocessExecutable.h instead for .net full.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.