static void plugTogetherPair(InputStream in,OutputStream out,InputStream in1,OutputStream out1){
  Thread inThread=null;
  Thread outThread=null;
  int nExecs=getNumExec();
  inThread=AccessController.doPrivileged(new NewThreadAction(new PipeWriter(in,out,"out",nExecs),"out",true));
  outThread=AccessController.doPrivileged(new NewThreadAction(new PipeWriter(in1,out1,"err",nExecs),"err",true));
  inThread.start();
  outThread.start();
}

static void plugTogetherPair ( InputStream in , OutputStream out , InputStream in1 , OutputStream out1 ) { Thread inThread = null ; Thread outThread = null ; int nExecs = getNumExec ( ) ; inThread = AccessController . doPrivileged ( new NewThreadAction ( new PipeWriter ( in , out , "out" , nExecs ) , "out" , true ) ) ; outThread = AccessController . doPrivileged ( new NewThreadAction ( new PipeWriter ( in1 , out1 , "err" , nExecs ) , "err" , true ) ) ; inThread . start ( ) ; outThread . start ( ) ; }
allow plugging together two pipes at a time , to associate output from an execed process . this is the only publicly accessible method of this object ; this helps ensure that synchronization will not be an issue in the annotation process .
