For embedding cases, we need a bit more control here so that the application can be in control of how the process is spawned.