On Sat, 27 Feb 2021 05:48:04 GMT, Thomas Stuefe <stu...@openjdk.org> wrote:

> I really would consider rewriting the whole thing using posix_spawn. Since 
> JDK15 I think posix_spawn is the default for Runtime.exec, so we know it 
> works well. I would also do this in a separate RFE.
> 
> Alternatively, you could call into java and use Runtime.exec().

I think we should call into Java and use `Runtime.exec()`. Running a subprocess 
is very complicated, so we shouldn't try to duplicate the code in the VM.

-------------

PR: https://git.openjdk.java.net/jdk/pull/2737

Reply via email to