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

(process) Need IO redirection API for subprocesses

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 7
    • 1.3.0, 1.4.0, 1.4.2_02, 5.0, 6
    • core-libs
    • b25
    • generic, x86, sparc
    • generic, solaris_8, windows_2000
    • Not verified

      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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: