Initialize child process from audio plugin?

Hello,

I’ve been trying to understand the Child Process demo on the DemoRunner and everything seems quite straightforward except from the “initialiseFromCommandLine” function. I can’t get my head around on how this would be implemented on a plugin instance as there is no initialize function in it.

Mainly what I’m trying to do is to get my plugin scanning on a child process so the DAW doesn’t crash when the plugins fail.

Sorry if this is a very basic question, any type of guidance will be very much appreciated!

Thank you!

Hi,

So you are building a host, and want to scan plugins?
It indeed better be done on a child process.
But the child process is not the plugin itself, it is an application, that scans a plugin.
So, for example, you would build a PluginScanner app that would take as command line argument the path of a plugin to scan.

1 Like