Throw an error if the wrapper API process hasn't been started before calling restartAppIfNecessary.
squash! Attempt to start the wrapper process if it isn't running when restartAppIsNecessary is called. Throw an error if the wrapper API process can't be started using the default path.