[Isolate-interest] StreamBindings -- Discarding normal output
Curt Cox
ccox at tripos.com
Fri May 20 17:35:23 EDT 2005
While /dev/null is famous far and wide, example code in the Javadoc should
work on all platforms where possible. Where platform specific code is
required, it should be documented as such.
>From StreamBindings
==========================
Discarding normal output.
java Foo > /dev/null
FileOutputStream out = new FileOutputStream("/dev/null");
Properties p = System.getProperties();
Isolate foo = new Isolate(new StreamBindings()).setOut(out), p, "Foo");
foo.start();
More information about the Isolate-interest
mailing list