Is there a platform independent way of invoking a ...
# kotlin-native
k
Is there a platform independent way of invoking a subprocess?
d
Not really, you're stuck with making your own for now.
k
Would you mind pointing me in the right direction for how I might go about setting up a MPP interface for something like this?
Also, does Jetbrains take PRs for work like this from people who don't work there?
d
They take PRs but they have to be fairly relevant.
Do you have a multiplatform project?
You just need to do some `expect`/`actual`s.
k
I have a JVM project with some work that I would like to extract out into its own multiplatform library
I'll read up on setting up a mpp
d
👍🏼
Feel free to ask any questions if you get stuck.
k
Thanks! I will :)
o
Starting new process on POSIX systems is not very straightforward, and includes fork/exec sequence, or using http://man7.org/linux/man-pages/man3/posix_spawn.3.html
k
@olonho I've I invoked subprocesses with C before :) . was just hoping there was a kotlin multiplatform abstraction that already existed
a
Is there any idiomatic Kotlin way of spawning subprocesses, any news in that field? Clues would be welcome.