[GRASS-dev] Re: requring explicit input=-

Hamish hamish_b at yahoo.com
Sat Sep 24 08:13:12 EDT 2011


Martin wrote:
> >> * `input=-` means that it will read data from standard input,
> >> so the command waits for that (it will wait for eternity if
> >> you do not provide any input;-)
Hamish:
> > I don't have a solution to that (probably common) problem,

Martin:
> try r48444 (trunk). When providing <opt>=- GUI doesn't allow
> you to run the command.

thanks; does that now solve all outstanding issues with stdin vs.
the module guis?  (when complaining earlier I had read the svn
log + emails out of order, and forgotten about the hung waiting-
for-input gui problem before posting; sorry for the noise)

can anyone think of a case where "-" would ever be used as an
arbitrary string, not meaning stdin?
I guess it is a similar probability to someone wanting to use a
literal "-" as a file or map name. g.message is all I can think
of, but that's not used in the gui menu.


Hamish


More information about the grass-dev mailing list