[GRASS-dev] python and GRASS_MESSAGE_FORMAT

Jachym Cepicky jachym.cepicky at centrum.cz
Mon Nov 27 01:19:58 EST 2006


On Mon, Nov 27, 2006 at 12:02:16AM -0500, Daniel Calvelo wrote:
> Try with popoen3, to get all your pipes separate:
> 
> o,i,f = os.popen3("r.los --o in=elevation.dem out=tmp \
>        coordinate=603067.6875,4925297.0625 max_dist=10000", bufsize=0 )
> 
> Note the omitted redirection of stderr to stdout.

same result :-/

this should be solved, before we continue on newgeneration gui too :-/

thanks

jachym

> 
> >try:
> >    for line in f:
> >        print line
> >finally:
> >    f.close()
> >
> >jachym
> 
> -- 
> -- Daniel Calvelo Aros
> 
> _______________________________________________
> grass-dev mailing list
> grass-dev at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev

-- 
Jachym Cepicky
e-mail: jachym.cepicky at centrum.cz
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub
-----------------------------------------   
OFFICE:                                     
Department of Geoinformation Technologies 
Zemedelska 3
613 00, Brno
Czech Republick
e-mail: xcepicky at node.mendelu.cz
URL:    http://mapserver.mendelu.cz
Tel.:   +420 545 134 514
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20061127/abd0785f/attachment.bin


More information about the grass-dev mailing list