[GRASS5] winGRASS: mingw32 and execl (g.list)

Markus Neteler neteler at itc.it
Thu Jan 26 09:28:26 EST 2006

On Sun, Jan 22, 2006 at 09:39:59AM +0000, Glynn Clements wrote:
> Markus Neteler wrote:
> > Now a question: While 'g.list' compiled, it just does not display
> > anything and exits. May execl() be the problem?
> > general/manage/cmd/list.c

OK, it's not execl().

The problem is here:

        if (lister)
            sprintf(buf,"ls '%s'", path);
            sprintf(buf,"ls -C '%s'", path);

which is unlikely to work in MS-Windows. No idea, how to
solve that, though. Someone may implement a workaround
for MS-Windows.


More information about the grass-dev mailing list