[GRASS5] [OT,BTW] General and gis.m module running
(stdout,stderr,exit status) issues
glynn at gclements.plus.com
Tue Apr 4 14:24:00 EDT 2006
Maciek Sieczka wrote:
> > > 2. We can't get exit status from run programs
> > >
> > > Tcl's open process commands are inadequate for capturing the exit
> > > code of programs. A helper program that labels this and adds it to
> > > the data in stdout may be in order.
> > Ick. Just live with it until we drop Tcl/Tk in favour of C/C++.
> Glynn, Cedric,
> Are you here talking about this issue:
No; the issue here is that you can't get the process' return code (the
value passed to exit() or returned from main()) from within Tcl.
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev