in reply to setenv system call
Well there are a couple issues with this. First off, setenv is not a program per se but a shell built-in. Second off, setenv is not a sh built-in, which is the shell used when using system. And third, this wouldn't work even if it were a extant program because when you do a system, it forks another process and any changes to that child processes enviroment will not be "see-able" by the parent process.
Some rsync's have a --password-file option, you could use that instead.
-derby
Updated: left off a verb!
|
|---|