[Pachi] 2 queries

Petr Baudis pasky at ucw.cz
Sun Jun 5 03:06:11 CEST 2011

On Fri, Jun 03, 2011 at 01:34:38PM +0100, jonathan chetwynd wrote:
> > How to switch debug so that the only output is JSON? [1]

To turn off all debug prints (but critical errors), pass Pachi -d 0.

> all left is to remove GTP response such as 
> = E6

Just redirect stdout to /dev/null or something? For json output, you
will be reading stderr instead of stdout anyway so you should not need
to do anything special.

				Petr "Pasky" Baudis

More information about the Pachi mailing list