-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
None
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);
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);