Hi, I've been trying to compile and run some basic...
# scripting
b
Hi, I've been trying to compile and run some basic scripts but I keep running into various errors which I described here: https://discuss.kotlinlang.org/t/embedded-scripting-error/8975. I don't really understand what goes wrong. If anybody can push me into the right direction that would be appreciated.
o
The best approach is to use kscript
👎 2
👍 1
“Type-safety in the shell with kscript” @OhadShai https://medium.com/@OhadShai/type-safety-in-the-shell-with-kscript-7dd40d022537
b
I am not trying to run the scripts from a shell. I want to compile and run them from my Kotlin program.
o
Oh, I never tried that