Problems with execl("bin/csh", ...) in my OWN shell from login

Dr. Richard Glass reg at pinet.aip.org
Sun Mar 10 02:50:27 AEST 1991


When cshell is a login shell, it is given a special name of -.  What
you may want to try is is the following :

execl("/bin/csh", "-", (char **)0 );

This will invoke the csh as if the shell was invoked by login.
Ricky Glass - reg at pinet.aip.org



More information about the Comp.unix.programmer mailing list