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

com.jtransc.gen.js.NodeJs.kt 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.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