+ Chris Johnson <[EMAIL PROTECTED]>:

| Below is a very simple patch to tcpserver that lets it run the
| program specified in the environment variable PROG rather than the
| one named on the command line. I vaguely recall the idea of doing
| this coming up on the list several months ago, but I can't find the
| thread now.
| 
[...]
| 
| Can anyone see anything terribly wrong with doing this?

Not really, but I assume it would be more DJB-esque to have tcpserver
run a tiny wrapper program which inspects the environment and then
runs the appropriate program.  In the event that Dan doesn't want to
include this feature in tcpserver, this solution also saves you from
having to add it to every future version of tcpserver that you might
want to run.

- Harald

Reply via email to