private static String escapeArgsFileArgument(String arg) {
		if (!shellSafeChars.matcher(arg).matches()) {
			arg = arg.replaceAll("([\"'\\\\])", "\\\\$1");
			arg = "\"" + arg + "\"";
		}
		return arg;
	}
Escapes list of arguments where necessary using the way of escaping that is
appropriate for the shell we're running in
src/main/java/dev/jbang/util/CommandBuffer.java