-
Notifications
You must be signed in to change notification settings - Fork 41.3k
Open
Labels
type: enhancementA general enhancementA general enhancement
Milestone
Description
Line 265 in 069e7f3
"$javaexe" "${arguments[@]}" |
Because the run() function omits the use of "exec" it leaves a useless (??) shell script process running once the java has invoked.
As it stands when this shell parent process receives a SIGTERM then it doesn't pass it on to Java and the Java process is left lying around. This interferes with process management in some instances.
Could the run function be modified to use the "exec" shell command to dispense with the parent process? (see issue 5273)
If we can't modify the existing run for some then can we have an alternative that does an exec or provide an option to modify the behaviour of run, or even an option to customise the start script?
Thanks
See also #5273
pioto and renatomefi
Metadata
Metadata
Assignees
Labels
type: enhancementA general enhancementA general enhancement