[computer-go] stderr
Martin Møller Pedersen
traxplayer at gmail.com
Mon Mar 26 13:50:44 PDT 2007
2>@ stdout ? Never heard about a shell with that syntax.
Try 2>& 1 instead
Regards
Martin
On 26/03/07, Don Dailey <drd at mit.edu> wrote:
> My people have asked about sending stderr to the display when
> running the cgos tcl client. Several people on CGOS use the
> perl client because of this.
>
> I think it can be done by appending "2>@ stdout" to the
> command line invocation of your program. At least in linux.
>
> here is an example bash script to run a hypothetical program
> called MyBot while send stdout to the display (as well as the
> cgos client information messages:
>
>
> ------------------[ runBot script ]--------------------------
>
> #!/usr/bin/bash
>
> ./cgos3-64 MyBot-1.0 aPassWord "./MyBot -l 10 2>@ stdout" stopMyBot
>
>
>
>
> _______________________________________________
> computer-go mailing list
> computer-go at computer-go.org
> http://www.computer-go.org/mailman/listinfo/computer-go/
>
--
"All general statements are false."
"If atheism is a religion, then not collecting stamps is a hobby."
A: Fordi det ændrer rækkefølgen folk normalt kommunikerer på.
Q: Hvorfor er top-svar en dårlig ting?
A: Top-svar.
Q: Hvad er det mest irriterende i e-mail?
"We are all atheists about most of the gods that humanity
has ever believed in. Some of us just go one god further."
More information about the computer-go
mailing list