Launching dremio from another application

I have a kotlin application, when this application is started I want to start an instance of dremio.

Is there a best practice for launching dremio from another application?