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

(process) Need IO redirection API for subprocesses

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 1.3.0, 1.4.0, 1.4.2_02, 5.0, 6
    • Fix Version/s: 7
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b25
    • CPU:
      generic, x86, sparc
    • OS:
      generic, solaris_8, windows_2000
    • Verification:
      Not verified

      Description

      The output (stdout and stderr) of a process started via
      Runtime.exec() or ProcessBuilder.start() is always directed to a pipe
      that can only be read by the creating Java process.

      We need to be able to re-create the functionality that comes standard
      with most command processors
      command > filename # redirect subprocess output into a file
      command # subprocess output goes to same location as parent output

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                martin Martin Buchholz
                Reporter:
                martin Martin Buchholz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: