Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5617

Improve process handling in SpawnedProcess

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.9.1.0
    • Fix Version/s: 10.8.3.0, 10.9.1.0
    • Component/s: Test
    • Labels:
      None

      Description

      SpawnedProcess wraps a java.lang.Process and performs various tasks related to process handling. Using external processes from Java is somewhat tricky, in part because of sub-optimal behavior in the methods provided by Process.

      I plan to implement the following improvements:
      a) Kill the process after a timeout (the clock starts ticking when you create the SpawnedProcess instance).
      b) Don't let interrupts stop SpawnedProcess from waiting for / terminating the process.
      c) Clean up the Process properly.

        Attachments

          Activity

            People

            • Assignee:
              kristwaa Kristian Waagan
              Reporter:
              kristwaa Kristian Waagan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: