Conversation
|
I think this is getting out of scope for LANG, given that there is already the EXEC component. |
|
@sebbASF I think exec focuses on executing the operating system child process (shell start). |
|
It does sound like this is in the Commons Exec domain. |
|
AFAICT the code starts the JVM using an OS process. There may be other such assumptions. EXEC should already deal with all of these. I still think this belongs in EXEC rather than LANG. It might make a useful enhancement to EXEC? |
|
Well, what you said is right, it really should be returned to the exec domain. |
|
Hi all, After a long time, we practiced in many projects, we found pr very interesting, I plan to close this discussion, discuss in commons-exec |
When you need to perform some operations through a child process, it is very cumbersome and requires a lot of coding. I have an api below to simplify this process and make it elegant
Like this: The Callable event is executed by the child process (jvm)