Interface ProcessCloser

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close​(java.lang.Process process)
      Closes standard streams of a given sub process.
    • Method Detail

      • close

        void close​(java.lang.Process process)
            throws java.io.IOException,
                   java.lang.InterruptedException
        Closes standard streams of a given sub process.
        Parameters:
        process - sub process (not null).
        Throws:
        java.io.IOException - if I/O errors occur while closing the underlying stream
        java.lang.InterruptedException - if underlying throws a InterruptedException