Whatever is building the command line is doing it wrong:
-passin pass:'test me'
... should likely be
-passin 'pass:test me'
For example, the following line building some command line will also not deal well with spaces in your password:
$cmd = "-des3 -passout pass:$args->{keypass} ".$cmd if defined($args-> +{keypass});
Also, this line:
my $common_args = "-$args->{digest} -days $args->{days} ". " -key $cakey -passin pass:$args->{keypass}";
As a general rule, if it doesn't work on the command line/shell prompt, there is very little that IPC::Run can do to make it work either.
In reply to Re^2: IPC::Run command is correctly constructed but does not have effect
by Corion
in thread IPC::Run command is correctly constructed but does not have effect
by byrnejb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |