in reply to Re: Cron, Shell Script, and Perl
in thread Cron, Shell Script, and Perl
# Start the pgp decrypt process. ($decrypt = Expect->spawn("pgp $pgpfile")) || die "Couldn't spawn pgp +decrypt, $!"; # Check to see for the password prompt. If prompted then post the pas +sword. if($decrypt->expect(30,"Enter pass phrase: ")){ sleep(3); print $decrypt "pass phrase goes here\r"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Cron, Shell Script, and Perl
by jj808 (Hermit) on Oct 07, 2002 at 16:53 UTC | |
by landonc (Novice) on Oct 07, 2002 at 17:03 UTC | |
|
Re: Re: Re: Cron, Shell Script, and Perl
by zigdon (Deacon) on Oct 07, 2002 at 16:28 UTC | |
by landonc (Novice) on Oct 07, 2002 at 16:37 UTC | |
by zigdon (Deacon) on Oct 07, 2002 at 16:43 UTC | |
by landonc (Novice) on Oct 07, 2002 at 16:54 UTC |