private void checkProcessDidNotExit(Process p) throws StartedGhidraProcessExitedException {
		if (p != null) {
			try {
				int exitValue = p.exitValue();
				if (exitValue != 0)
					throw new StartedGhidraProcessExitedException(exitValue);
			}
			catch (IllegalThreadStateException e) {
				// this is okay, ghidraRun hasn't exited
			}
		}
	}
checks to see if Ghidra process exited early, In the event Ghidra exits early, 
a runtime exception is thrown
@param p Ghidra process
@throws StartedGhidraProcessExitedException if the Ghidra process has an exit value
Ghidra/Features/GhidraGo/src/main/java/ghidra/app/plugin/core/go/ipc/CheckForListenerRunnable.java