Re: [Xastir] standard err

2007-08-24 Thread Curt, WE7U
On Wed, 22 Aug 2007, Jason Winningham wrote:

> xastir >/dev/null 2>&1 &
>
> which means "redirect file descriptor 1 to the file specified, then
> redirect file descriptor 2 to the same place".

You can also do this:

(xastir 2>&1) | tee xastir_error.log

Which will pipe STDERR and STDOUT to the screen and to a file.

--
Curt, WE7U:  XASTIR: 
  "Lotto:  A tax on people who are bad at math." -- unknown
"Windows:  Microsoft's tax on computer illiterates." -- WE7U
The world DOES revolve around me:  I picked the coordinate system!
___
Xastir mailing list
Xastir@xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir


Re: [Xastir] standard err

2007-08-22 Thread Jason Winningham


On Aug 20, 2007, at 4:18 PM, vic wrote:

Can the output from xastir to the terminal be stopped somehow with  
a command or command string when xastir is started with the &  
option to put it into the background??


xastir 2>/dev/null &

which means "redirect file descriptor 2 aka stderr to the file  
specified".


to redirect output and stderr,

xastir >/dev/null 2>&1 &

which means "redirect file descriptor 1 to the file specified, then  
redirect file descriptor 2 to the same place".


-Jason
kg4wsv



___
Xastir mailing list
Xastir@xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir


[Xastir] standard err

2007-08-22 Thread vic
Can the output from xastir to the terminal be stopped somehow with a command or 
command string when xastir is started with the & option to put it into the 
background??
Thanks...
-- 
vic <[EMAIL PROTECTED]>
___
Xastir mailing list
Xastir@xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir