in reply to exec, echo and pipe
handle this password passingI would simply pass it via the environment, eg
exec "MY_PASSWORD=$Captured_Password ./processor.pl -j $Trigger_Job -u $Captured_User_Name > /dev/null 2>&1 &"
Your processor.pl then simply grabs the password with $ENV{MY_PASSWORD}.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: exec, echo and pipe
by afoken (Chancellor) on Apr 02, 2016 at 20:54 UTC | |
by morgon (Priest) on Apr 03, 2016 at 01:44 UTC | |
by afoken (Chancellor) on Apr 04, 2016 at 20:06 UTC |