(process) Need IO redirection API for subprocesses

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 7
    • Affects Version/s: 1.3.0, 1.4.0, 1.4.2_02, 5.0, 6
    • Component/s: 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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: