Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!ucsd!sdcsvax!ucsdhub!jack!sdsu!nash From: nash@sdsu.UUCP (Ron Nash) Newsgroups: comp.unix.wizards Subject: How to pass varibles to csh Message-ID: <2937@sdsu.UUCP> Date: 26 Feb 88 21:02:08 GMT Organization: San Diego State University, Math/Sciences Dept. Lines: 11 Keywords: csh varibles exec 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