1 // EcosProcess.java - Subclass of Process for eCos systems.
3 /* Copyright (C) 1998, 1999 Red Hat, Inc.
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
13 import java.io.InputStream;
14 import java.io.OutputStream;
15 import java.io.IOException;
18 * @author Tom Tromey <tromey@cygnus.com>
22 // This is entirely internal to our implementation.
24 // This file is copied to `ConcreteProcess.java' before compilation.
25 // Hence the class name apparently does not match the file name.
26 final class ConcreteProcess extends Process
28 // See natEcosProcess.cc to understand why this is native.
29 public native void destroy ();
31 public int exitValue ()
35 public InputStream getErrorStream ()
40 public InputStream getInputStream ()
45 public OutputStream getOutputStream ()
50 public int waitFor () throws InterruptedException
55 public ConcreteProcess (String[] progarray, String[] envp) throws IOException
57 throw new IOException ("eCos processes unimplemented");