How can I set some environment variables for the Kotlin REPL?

I'm trying to use Kotlin REPL to play with a library whose behavior is affected by some environment variables. 

Is it possible to launch the REPL with some of those env vars set?
(short of launching the IDE itself with the env vars in place and assuming that it'll export them to the REPL process)

Additionally, is it possible to set some properties (java -Dkey=val) while launching the REPL?

请先登录再写评论。