Spawns the Process and calls Process.destroy upon block closure.
if Process creation failed
on Kotlin/Js or Kotlin/WasmJs Browser