Class ProcessRedirect


  • public final class ProcessRedirect
    extends java.lang.Object
    Process redirections that work on all JDK versions.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.ProcessBuilder.Redirect discard()
      Get the "discard" process redirection target.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • discard

        public static java.lang.ProcessBuilder.Redirect discard()
        Get the "discard" process redirection target.
        Returns:
        the discarding redirection target