Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8241408

ProcessBuilder redirect process and childs input/output/errors to streams

XMLWordPrintable

      A DESCRIPTION OF THE PROBLEM :
      ProcessBuilder can currently redirect all processes and childs to own default input/output stream (inherited) and to a file. Or the main process input/output stream to a different stream (in java.lang.Process).

      But where is no method to redirect all to a different stream.

      Example Methods:
      public void ProcessBuilder redirectError(InputStream stream);
      public void ProcessBuilder redirectInput(InputStream stream);
      public void ProcessBuilder redirectOutput(OutputStream stream);


            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: