1 // EcosProcess.java - Subclass of Process for eCos systems.
3 /* Copyright (C) 1998, 1999, 2006, 2007 Free Software Foundation
5 This file is part of libgcj.
7 This software is copyrighted work licensed under the terms of the
8 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
14 import java.io.InputStream;
15 import java.io.OutputStream;
16 import java.io.IOException;
19 * @author Tom Tromey <tromey@cygnus.com>
23 // This is entirely internal to our implementation.
25 final class EcosProcess extends Process
27 // See natEcosProcess.cc to understand why this is native.
28 public native void destroy ();
30 public int exitValue ()
34 public InputStream getErrorStream ()
39 public InputStream getInputStream ()
44 public OutputStream getOutputStream ()
49 public int waitFor () throws InterruptedException
54 public EcosProcess (String[] progarray, String[] envp, File dir,
58 throw new IOException ("eCos processes unimplemented");