Hi, we are generating Kotlin classes and we need to compile them from Kotlin app. Currently we start a new process and run
kotlinc
but it requires to have a source file in filesystem. Is there a way how to do it on the fly (pipe, iostreams etc.)?
w
Wout Werkman
05/30/2024, 1:51 PM
I'm sorry, I don't have an answer for you, but I am very curious for your use case 🙂
a
Albert Chang
05/30/2024, 1:53 PM
Maybe use a shell that supports process substitution (such as bash and zsh)?
t
Tomas Kormanak
05/30/2024, 2:10 PM
We have a platform for creating some content and user can write custom implementations of some interfaces, then we compile it, package it a distribute it with the content as jar.