Hi,
use getprogname() instead of argv[0], because some programs that execv, pass the full path in argv[0] instead of just the basename. In reality, those programs should be fixed (hello gdb for example).
Like any shell on any U*X or alike system I ever used in the last 27 years? You've got to be kidding! Ciao, Wolfgang -- ws%TooLs.DE@localhost Wolfgang Solfrank, TooLs GmbH