Richard Troth <[EMAIL PROTECTED]> wrote:
>
> > This approach does not work if the program is being exec'd
> > and the exec() call sets argv[0] to something strange.
>
> Leaving argv[0] set to the original command (then exec())
> or setting it to "something strange" are very useful features
> of the UNIX API. Good stuff. (But doesn't help Neale.)
>
> -- RMT
>
To be sure (look at argv[0] of the shell your running sometime :-) )
I wasn't saying it was bad - it just makes it difficult to
do what Neale needs done...
- Dave R. -
--
[EMAIL PROTECTED] Work: (919) 676-0847
Get your mainframe programming tools at http://www.dignus.com