How to pass varibles to csh

Ron Nash nash at sdsu.UUCP
Sat Feb 27 07:02:08 AEST 1988


How can I pass varibles (other than environment varibles) to /bin/csh?
I have a C program that uses execve to pass the environment varibles, but
it does not pass local (the ones shown via the csh 'set' command) to the
child shell.  Has anyone done this?  Is it possible to set local variables
from within a C program so that a child will inherit them?

Any ideals would be greatly appreciated!

Ron Nash
San Diego State University
Phone: (619)265-4363
uucp:  ..ucsd!sdsu!nash



More information about the Comp.unix.wizards mailing list