3 import org.xwt.mips.Runtime;
6 public static void main(String[] args) throws Exception {
7 Runtime rt = new Test();
8 int fd = rt.allocFDEnt(new Runtime.SeekableInputStreamFD(System.in));
9 int status = rt.run(new String[]{"test","fdtest","/dev/fd/" + fd});
10 System.err.println("Exit status: " + status);