Expose spawnProcess to make it easier to launch native commands.