default PtySession session(String[] args, Map<String, String> env, TermMode... mode)
			throws IOException {
		return session(args, env, null, List.of(mode));
	}
@see #session(String[], Map, File, Collection)
@param args the image path and arguments
@param env the environment
@param mode the terminal mode. If a mode is not implemented, it may be silently ignored.
@return a handle to the subprocess
@throws IOException if the session could not be started
Ghidra/Framework/Pty/src/main/java/ghidra/pty/PtyChild.java