Hamish wrote: > should this be using G_spawn() not _spawnl() now that we have a few > G_spawn() options to choose from?
No. G_spawn() uses the _P_WAIT flag, while the DBMI requires _P_NOWAIT. G_spawn_ex() supports background processes, but it doesn't support redirecting descriptors on Windows. The only way to fix that is to re-write it to use CreateProcess() rather than spawnvpe(); Python's subprocess module would probably be a useful source of clues. -- Glynn Clements <gl...@gclements.plus.com> _______________________________________________ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user