Hi all,

Got a bit of a C code using execle() to call a shell script with a specific environment. I've got no trouble seeing the environment vars in bash.

Is there any way of setting an environment variable in the shell script so that it modifies the environment of the *parent* process?
I fear not - but is there any way of returning something from a shell other than through an exit status?


Thanks,

Andy


-- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to