- From: Stephane Nicoll <stephane.nicoll@skynet.be>
- Date: Fri, 1 Mar 2002 09:42:25 +0100
- To: "Craig L. Ching" <cching@mqsoftware.com>
- Cc: <www-jigsaw@w3.org>
Hello, You can start jigsaw in your own classe this way: String[] pa = new String[2]; pa[0] = "-root"; pa[1] = proxyHome; org.w3c.jigsaw.Main.main(pa); where proxyHome is the home directory where JigSaw is installed. BEFORE that you can redirect standard output / error to a stream you've defined. Like this PrintStream out = new PrintWriter(new FileOutputStream(outFile)); PrintStream err = new PrintWriter(new FileOutputStream(errFile)); System.setErr(err); System.setOut(out); wher outFile and errFile is some file log you've defined somewhere in your class. Hope it helps, Stéphane ----- Original Message ----- From: "Craig L. Ching" <cching@mqsoftware.com> To: <www-jigsaw@w3.org> Sent: Friday, March 01, 2002 12:25 AM Subject: Jigsaw outputs to stderr and stdout > Hi, > > Is there any way to tell Jigsaw to not print anything to stderr and stdout? We're wrapping up jigsaw in a daemon on Solaris, AIX, and Linux and we need to close stderr and stdout before daemonizing. Because of some 3rd party software that we're using, we need to not have jigsaw write to either stderr or stdout after daemonizing. Any way to do that? > > Cheers, > Craig > >
Received on Friday, 1 March 2002 03:42:49 UTC