1 // Process.java - Represent spawned system process.
3 /* Copyright (C) 1998, 1999 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
15 * @author Tom Tromey <tromey@cygnus.com>
16 * @date October 23, 1998.
19 /* Written using "Java Class Libraries", 2nd edition, ISBN 0-201-31002-3
22 public abstract class Process
24 abstract public void destroy ();
25 abstract public int exitValue ();
26 abstract public InputStream getErrorStream ();
27 abstract public InputStream getInputStream ();
28 abstract public OutputStream getOutputStream ();
29 abstract public int waitFor () throws InterruptedException;