protected TestChangeProgramScript startCancellableScriptTask() throws Exception {
		TestChangeProgramScript script = new TestChangeProgramScript();
		ResourceFile fakeFile = new ResourceFile(createTempFile(CANCELLABLE_SCRIPT_NAME, "java"));
		script.setSourceFile(fakeFile);
		startRunScriptTask(script);

		boolean success = script.waitForStart();
		assertTrue("Test script did not get started!", success);

		return script;
	}
Run the last script by pressing the last script button and return output.

@param taskName name for the task listener
@return script output written to the console
@throws Exception on failure, e.g. timeout
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/script/AbstractGhidraScriptMgrPluginTest.java