public void startProcess() {
    { ShellProcess self = this;

      { java.lang.Process process = null;
        String[] command = self.command;
        String directory = self.directory;
        InputStream input = self.inputStream;
        OutputStream output = self.outputStream;
        OutputStream error = self.errorStream;
        org.powerloom.PrintableStringWriter stdin = null;
        org.powerloom.PushbackBufferedReader stdout = null;
        org.powerloom.PushbackBufferedReader stderr = null;

        try {
         process = Runtime.getRuntime().exec(command, null, new java.io.File(directory));
         if (input != null)
            stdin = new org.powerloom.PrintableStringWriter(process.getOutputStream());
         if (output != null)
            stdout = new org.powerloom.PushbackBufferedReader
                        (new edu.isi.stella.javalib.FlushableBufferedInputStream(process.getInputStream()));
         if (error != null)
            stderr = new org.powerloom.PushbackBufferedReader
                        (new edu.isi.stella.javalib.FlushableBufferedInputStream(process.getErrorStream()));
       }
       catch (java.io.IOException e) {
          Native.rethrowAsStellaException(e, InputOutputException.class, "ShellProcess.startProcess: ", true);
       }
;
        if (process == null) {
          throw ((StellaException)(StellaException.newStellaException("shell-process.start-process: not yet implemented").fillInStackTrace()));
        }
        self.nativeProcess = process;
        if (stdin != null) {
          { OutputStream self001 = OutputStream.newOutputStream();

            self001.nativeStream = stdin;
            self.nativeStdin = self001;
          }
        }
        if (stdout != null) {
          { InputStream self002 = InputStream.newInputStream();

            self002.nativeStream = stdout;
            self002.bufferingScheme = OntosaurusUtil.KWD_BLOCK;
            self.nativeStdout = self002;
          }
        }
        if (stderr != null) {
          { InputStream self003 = InputStream.newInputStream();

            self003.nativeStream = stderr;
            self003.bufferingScheme = OntosaurusUtil.KWD_BLOCK;
            self.nativeStderr = self003;
          }
        }
      }
    }
  }