com.jtransc.JTranscProcess Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jtransc-rt Show documentation
Show all versions of jtransc-rt Show documentation
JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.
The 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;
}
}