com.jtransc.gen.js.NodeJs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jtransc-gen-js Show documentation
Show all versions of jtransc-gen-js Show documentation
JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.
package com.jtransc.gen.js
import com.jtransc.vfs.ExecOptions
import com.jtransc.vfs.LocalVfs
import com.jtransc.vfs.ProcessResult
import java.io.File
object NodeJs {
fun run(script: String, args: List, passthru: Boolean = true): ProcessResult {
return LocalVfs(File(".")).exec("node", listOf(script) + args, options = ExecOptions(passthru = passthru))
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy