gcj: accessing environment variables

Per Bothner per@bothner.com
Wed Apr 30 20:37:00 GMT 2003


Anthony Green wrote:
> Willful non-conformance is probably a bad idea.

Yes, there may be legal issues we don't want to get into.

> Perhaps we should
> introduce a new scheme in the gnu.* package.

Perhaps a Java API similar to the scsh (Scheme Shell),
which provides a nice wrapper around Posix APIs.

E.g.
package gnu.posix;
public class Process
{
   static int fork ();
   static void exec(String[] args);
   ...;
}

public class File
{
   static int open(String name, int mode);
   ...
}

One might think someone already has done something similar.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/




More information about the Java mailing list