Uploaded image for project: 'Commons Exec'
  1. Commons Exec
  2. EXEC-69

DefaultExecutor async execute prevents shutdown hooks running

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1
    • 1.3
    • None

    Description

      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.

      Attachments

        1. DaemonExecutor.java
          2 kB
          Richard Atkins

        Issue Links

          Activity

            People

              Unassigned Unassigned
              richarda Richard Atkins
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: