[GRASS-dev] Re: [GRASS GIS] #887: db.describe fails if $GISBASE contains a space

Hamish hamish_b at yahoo.com
Mon Jun 7 11:05:32 EDT 2010


Glynn wrote:
>  Hmm. The !__MINGW32__ version uses _spawnl(). I'm not sure whether this
> is an issue. The documentation says that arguments must be
> quoted, but I don't think that applies to the program.
> 
>  Actually ... maybe we should just replace the bulk of db_start_driver()
>  with G_spawn_ex(). Redirection (including to/from pipes) should work on
>  Windows now.

fwiw db/dbmi_client/start.c in trunk and that + G_system() in 6.5/6.4
still use _spawnl(), we should probably test anything that uses G_system()
for whitespace safety as well as the problematic dbf.exe client.

r.support (6.x), r.watershed(6+7)?


Hamish



      


More information about the grass-dev mailing list