Thursday, May 30, 2019

Running a Kotlin Class as a Subprocess

Last week, I wrote a post on running a Java class as a subprocess. That post was triggered by my need to run a class from within a test without prebuilding a jar. The only difference between what I wrote in that post and what actually happened was the language. I used Kotlin to write that test, not Java. Therefore, I have decided to write this follow up post that builds upon what I previously wrote and focuses on starting a Kotlin subprocess instead of a Java subprocess.

Let’s start with an equivalent implementation of the exec from the previous article, Running a Java Class as a Subprocess:



from DZone.com Feed http://bit.ly/30VIcuq

No comments:

Post a Comment