2002-02-25 07:17:26 +08:00
|
|
|
// Win32Process.java - Subclass of Process for Win32 systems.
|
|
|
|
|
|
|
|
/* Copyright (C) 2002 Free Software Foundation
|
|
|
|
|
|
|
|
This file is part of libgcj.
|
|
|
|
|
|
|
|
This software is copyrighted work licensed under the terms of the
|
|
|
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
|
|
|
details. */
|
|
|
|
|
|
|
|
package java.lang;
|
|
|
|
|
2002-08-14 09:07:59 +08:00
|
|
|
import java.io.File;
|
2002-02-25 07:17:26 +08:00
|
|
|
import java.io.InputStream;
|
|
|
|
import java.io.OutputStream;
|
|
|
|
import java.io.IOException;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author Adam Megacz
|
|
|
|
* @date Feb 24, 2002
|
|
|
|
*/
|
|
|
|
|
|
|
|
// This is entirely internal to our implementation.
|
|
|
|
|
2002-03-11 01:59:23 +08:00
|
|
|
// NOTE: when this is implemented, we'll need to add
|
|
|
|
// HANDLE_FLAG_INHERIT in FileDescriptor and other places, to make
|
|
|
|
// sure that file descriptors aren't inherited by the child process.
|
|
|
|
// See _Jv_platform_close_on_exec.
|
|
|
|
|
2002-02-25 07:17:26 +08:00
|
|
|
// This file is copied to `ConcreteProcess.java' before compilation.
|
|
|
|
// Hence the class name apparently does not match the file name.
|
|
|
|
final class ConcreteProcess extends Process
|
|
|
|
{
|
|
|
|
public void destroy ()
|
|
|
|
{
|
|
|
|
throw new Error("not implemented");
|
|
|
|
}
|
|
|
|
|
|
|
|
public int exitValue ()
|
|
|
|
{
|
|
|
|
throw new Error("not implemented");
|
|
|
|
}
|
|
|
|
|
|
|
|
public InputStream getErrorStream ()
|
|
|
|
{
|
|
|
|
throw new Error("not implemented");
|
|
|
|
}
|
|
|
|
|
|
|
|
public InputStream getInputStream ()
|
|
|
|
{
|
|
|
|
throw new Error("not implemented");
|
|
|
|
}
|
|
|
|
|
|
|
|
public OutputStream getOutputStream ()
|
|
|
|
{
|
|
|
|
throw new Error("not implemented");
|
|
|
|
}
|
|
|
|
|
|
|
|
public int waitFor () throws InterruptedException
|
|
|
|
{
|
|
|
|
throw new Error("not implemented");
|
|
|
|
}
|
|
|
|
|
2002-08-14 09:07:59 +08:00
|
|
|
public ConcreteProcess (String[] progarray,
|
|
|
|
String[] envp,
|
|
|
|
File dir)
|
|
|
|
throws IOException
|
2002-02-25 07:17:26 +08:00
|
|
|
{
|
2002-03-09 16:47:40 +08:00
|
|
|
throw new IOException("not implemented");
|
2002-02-25 07:17:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|