All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jtransc.JTranscProcess Maven / Gradle / Ivy

Go to download

JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.

There is a newer version: 0.6.8
Show newest version
package com.jtransc;

import java.util.List;
import java.util.Map;

abstract public class JTranscProcess extends Process {
	public abstract Process start(List command, Map environment, String startDirectory, ProcessBuilder.Redirect stdin, ProcessBuilder.Redirect stdout, ProcessBuilder.Redirect stderr, boolean redirectErrorStream);

	protected String buildCommands(String[] cmds) {
		String out = "";
		// @TODO: Check espacing works fine.
		for (String cmd : cmds) {
			out += " \"" + cmd.replace("\"", "\\\"") + "\"";
		}
		return out;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy