On Mon, 2002-03-11 at 09:53, Burke, Thomas G. wrote:
> I would try using a system call in the C program.
> 
> try
> 
> ...
> system("setenv foo bar");
> ...

The system call is not passed on to the parent shell, it's run in a
sub-shell.

I don't believe it's at all possible to call setenv in a system call,
just as you can't `sh setenv foo bar` in a shell (try it), since it's
not an application in the PATH. 




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to