[ 
https://issues.apache.org/jira/browse/EXEC-69?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary Gregory resolved EXEC-69.
------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3

{noformat}
commit -m "[EXEC-69] DefaultExecutor async execute prevents shutdown hooks 
running." 
C:/vcs/svn/apache/commons/trunks-proper/exec/src/main/java/org/apache/commons/exec/DaemonExecutor.java
 C:/vcs/svn/apache/commons/trunks-proper/exec/src/changes/changes.xml
    Sending        
C:/vcs/svn/apache/commons/trunks-proper/exec/src/changes/changes.xml
    Adding         
C:/vcs/svn/apache/commons/trunks-proper/exec/src/main/java/org/apache/commons/exec/DaemonExecutor.java
    Transmitting file data ...
    Committed revision 1612971.
{noformat}


> DefaultExecutor async execute prevents shutdown hooks running
> -------------------------------------------------------------
>
>                 Key: EXEC-69
>                 URL: https://issues.apache.org/jira/browse/EXEC-69
>             Project: Commons Exec
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: Richard Atkins
>             Fix For: 1.3
>
>         Attachments: DaemonExecutor.java
>
>
> The DefaultExecutor asynchronous execute methods create a user-level thread 
> to monitor the process it starts. This prevents shutdown hooks - like the one 
> in ShutdownHookProcessDestroyer - from running. This makes these two classes 
> incompatible.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to