> From: Brian Jones
> Subject: Runtime.exec()
>
> Where is nativeExec(String[] cmd, String[] env) defined?
> I know that Runtime.exec should create an instance of a subclass of
> java.lang.Process.
>
Right now, there is none. Process is sort of independent of VM, so I didn't
bother with it in my integration efforts. It would be a good thing to add.
The best thing to do would actually be to add a package-private method
"static Process Process.exec(String[] cmd, String[] env)" and call that from
Runtime.exec(). If you want to make it native, you can.
Does it have to return a subclass of Process, or can it return an instance
of Process itself if it so desires? Will there ever be multiple *types* of
processes running on the same machine?
--John Keiser