Re: about pipe

2005-02-21 Thread Stephane Chazelas
On Mon, Feb 21, 2005 at 05:19:22AM -0800, [EMAIL PROTECTED] wrote: [...] > while running: > > myapp 2>/dev/null& > > I want to change 2>&1 without stop this job. > Is there some tips to finish it? [...] If you mean that you also want to discard stdout, you can try: gdb myapp << EOF attach $! ca

Re: about pipe

2005-02-21 Thread Chet Ramey
[EMAIL PROTECTED] wrote: Hi, while running: myapp 2>/dev/null& I want to change 2>&1 without stop this job. Is there some tips to finish it? Unless the app itself responds to a signal to do that, there is no way to accomplish it. At that point, it's out of the shell's hands. Chet -- ``The lyf so s