code: public java.io.Closeable connect(OutputStream stdin, InputStream stdout, InputStream stderr) {
          setProcessInputStream(stdin);
          setProcessErrorStream(stderr);
          setProcessOutputStream(stdout);
          outputThread.start();
          errorThread.start();
          if (inputThread != null) {
              inputThread.start();
          }
          return new Closeable() {
              @Override
              public void close() {
                  stop();
              }
          };
      }
docs: Start the <code>Thread</code>s.