Re: [gdal-dev] How to supress std io of gdal?

Ivan Lucena ivan.lucena at pmldnet.com
Fri Feb 12 08:35:25 EST 2010


Sam,

>  Is there a way to redirect it to some other buffer? Like an internal stream which can then be properly propagated via exceptions or written into a log?

It is probably not as sophisticated as you want or need but have you tried that:

gdalinfo out.tif > stdout.txt 2> stderr.txt

Regards,

Ivan

>  
>  Thanks
>  Sam
>  --
>  NEU: Mit GMX DSL über 1000,- ¿ sparen!
>  http://portal.gmx.net/de/go/dsl02
>  _______________________________________________
>  gdal-dev mailing list
>  gdal-dev at lists.osgeo.org
>  http://lists.osgeo.org/mailman/listinfo/gdal-dev
>  


More information about the gdal-dev mailing list