Created
June 2, 2018 23:09
-
-
Save thomasnield/ceed8c3453b2bd22d352d9ba6397c8e7 to your computer and use it in GitHub Desktop.
Calling Kotlin from Python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
os.system("kotlinc src/main/kotlin/Launcher.kt -include-runtime -d launcher.jar") | |
process = Popen(['java', '-jar', 'launcher.jar', tmp_file_name], stdout=PIPE) | |
(stdout, stderr) = process.communicate() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment