[GRASS-dev] hardcoded 'xterm': wrapper?

Hamish hamish_nospam at yahoo.com
Sun Aug 27 22:39:05 EDT 2006


Glynn Clements wrote:

> One minor point: I thought that using "which" was advised against, as
> it isn't present on all platforms.

On what platforms is it missing? If `which` is missing, what are the
chances that other assumed unix tools are missing? (ie everything breaks)

> If it is used, stderr should be redirected to /dev/null, to silence
> the errors about x-terminal-emulator not being found.

On what platforms does `which` not return silence if the target isn't
found?


?,
Hamish




More information about the grass-dev mailing list