Class ProcessTree.UnixProcess

    • Constructor Detail

      • UnixProcess

        protected UnixProcess​(int pid)
    • Method Detail

      • getFile

        protected final java.io.File getFile​(java.lang.String relativePath)
      • killRecursively

        public void killRecursively()
                             throws java.lang.InterruptedException
        Description copied from class: ProcessTree.OSProcess
        Kills this process and all the descendants.

        Note that the notion of "descendants" is somewhat vague, in the presence of such things like daemons. On platforms where the recursive operation is not supported, this just kills the current process.

        Specified by:
        killRecursively in interface ProcessTreeRemoting.IOSProcess
        Specified by:
        killRecursively in class ProcessTree.OSProcess
        Throws:
        java.lang.InterruptedException