Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!bu.edu!nntp-read!jc From: jc@raven.bu.edu (James Cameron) Newsgroups: comp.unix.questions Subject: Re: routing error messages on background tasks Message-ID: Date: 13 May 91 04:18:29 GMT References: <17109@chopin.udel.edu> Sender: news@bu.edu.bu.edu Organization: What do you mean 'That *can't* be done????' Lines: 31 In-reply-to: jon@chopin.udel.edu's message of 12 May 91 22:26:40 GMT >>>>> On 12 May 91 22:26:40 GMT, jon@chopin.udel.edu (Jon Deutsch) said: Jon> I'm running a process in the background, and whenever Jon> an error message is generated, it shows up on all tty's Jon> currently in use! Jon> I've tried executing the program with a redirection to a file Jon> and /dev/null with no success. (ie: prog > /dev/null&) Jon> Any suggestions? How about: prog >>& /dev/null & (append standard and diagnostic output to /dev/null) prog >>& ./log-file & (append standard and diagnostic output to ./log-file) Hope that helps. You might want to look at some shell programming books or the man pages for more information. jc -- -- James Cameron (jc@raven.bu.edu) Signal Processing and Interpretation Lab. Boston, Mass (617) 353-2879 ------------------------------------------------------------------------------ "But to risk we must, for the greatest hazard in life is to risk nothing. For the man or woman who risks nothing, has nothing, does nothing, is nothing." (Quote from the eulogy for the late Christa McAuliffe.)