scotchfx has asked for the wisdom of the Perl Monks concerning the following question:
my problem is that, as the archive is encrypted with a password, "unrar" prompts me within the execution shell for a password in the following fashion:my @unrar = ("./unrar", "e", "$file"); system(@unrar);
Is there any way I can have perl pass this second $password input interactively for me?Enter password (will not be echoed) for tocrack.txt:
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Simple (hopefully) shell/system() execution question
by Tomte (Priest) on Apr 26, 2006 at 08:04 UTC | |
Re: Simple (hopefully) shell/system() execution question
by ikegami (Patriarch) on Apr 26, 2006 at 07:26 UTC | |
by scotchfx (Sexton) on Apr 27, 2006 at 02:03 UTC | |
Re: Simple (hopefully) shell/system() execution question
by blazar (Canon) on Apr 26, 2006 at 09:39 UTC |