I would simply pass it via the environment
Both command line and environment can be read by other users on the system (using tools like ps, pstree, top), so both are not the best place to pass a password around. Passing the password through a pipe prevents that.
Alexander
In reply to Re^2: exec, echo and pipe
by afoken
in thread exec, echo and pipe
by Chipwiz_Ben
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |